473,382 Members | 1,238 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Is there a right way to do a data entry form?

I have a set of textboxes. If it is a new record the textboxes are
empty and there is a save button. If this is an existing record, I
have a search form, a datagrid and the user selects form the datagrid
and the same set of textboxes now populates for editing with an update
button.

I know I can set up a datalist or datagrid to do this "automatically,"
but I want two things. I want the search list to look like a datagrid,
that is the rows, datasheet look, and a nice form. I don't see a way
to have both of them except to do it the way described above.

It just feels wrong to do a select for my search results and then go to
a whole other page (or maybe the same page different panel) and bind
data back to a set of textboxes for data entry, when the various
controls will do that for me.

Any thoughts on this are appreciated. I am concerned I am still
thinking in classic asp terms. I cannot find any good examples on the
Internet other than what I have already described. Thank you.

Nov 19 '05 #1
6 1146
Are you saying that you don't want to use the Datagrid for the actual
editing of a record? I've done it both ways. Some pages I edit the records
directly in the DataGrid, and others, I select the item from the Datagrid
and send the data to an edit page filled with various textboxes,
dropdownlists, etc. I get the data to the edit page using an ArrayList and
passing through a Session.Item("MyArrayList").
<ne***********@gmail.com> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
I have a set of textboxes. If it is a new record the textboxes are
empty and there is a save button. If this is an existing record, I
have a search form, a datagrid and the user selects form the datagrid
and the same set of textboxes now populates for editing with an update
button.

I know I can set up a datalist or datagrid to do this "automatically,"
but I want two things. I want the search list to look like a datagrid,
that is the rows, datasheet look, and a nice form. I don't see a way
to have both of them except to do it the way described above.

It just feels wrong to do a select for my search results and then go to
a whole other page (or maybe the same page different panel) and bind
data back to a set of textboxes for data entry, when the various
controls will do that for me.

Any thoughts on this are appreciated. I am concerned I am still
thinking in classic asp terms. I cannot find any good examples on the
Internet other than what I have already described. Thank you.

Nov 19 '05 #2
I've done it both ways too. I juse feel like that isn't correct of
that I'm missing something.

Nov 19 '05 #3
Maybe there is not standard way to doing it.

Nov 19 '05 #4
I usually have the search parameter options available at the top of the page. If the user submits parameters then a search is
conducted on the page postback and the results displayed in the datagrid on the same page. search parametrs are redisplayed for the
user's reference.
----------------------------------
Tax the churches so the poor can eat
Nov 19 '05 #5
What about the editing part?

Nov 19 '05 #6
Each record displayed has a link which posts back with the record id. that id is used to look up record and display it in a form to
allow modifications.
------------------------------------------------------
Tax the churches so the poor can eat.
Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Iain Miller | last post by:
Struggling a bit here & would be grateful for any help. I have a table which has a list of people in it. Each person has a unique ID automatically allocated by Access but also belongs to one of 5...
0
by: tamilan71 | last post by:
Can anyone tell me a simple method of creating an application in Access 2003 that uses "Double data entry"? For me double data entry is defined as the ability to have data entered twice. The first...
6
by: Brian Blair | last post by:
I have created a input form that enters a number in a talble. If I open the form again it enters a new record instead of editing the existing record. It seems like it should be very basic but I...
3
by: bosmatthews | last post by:
I have a main form with a subform and a second subform nested to the first subform. The data entry property for all three forms (main, subform and sub-subform) is set to "yes" because I am intending...
4
by: seryozha | last post by:
Hello, I'm wonder if a relational database is what i need based on the data i will be entering. Our company will have the following data entered: Customer Part Press Date Operation
20
by: hippomedon | last post by:
Hello everyone, I'm looking for some advice on whether I should break the normalization rule. Normally, I would not consider it, but this seems to be a special case. I have created an...
2
by: eighthman11 | last post by:
Hello everyone, I'm using Access 2000 and SQL 8.0 This maybe easy but I can't figure it out. I have a linked access table to a SQL server table. I use this table on a Grid on an Access form. ...
1
by: Data Entry Outsourcing | last post by:
Data Entry plays vital role in every business area. Data Entry is one such aspects of any business that needs to be handled properly for expanding your business. Data Entry is one of the leading...
0
by: Tyler | last post by:
Made a data entry form which is a subform. I made a continuous form that displays everything entered through the data entry form. The data entry form displays all of the records. This doesn't...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.