|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
[FONT=Arial Black]
[COLOR=DarkOrange] i have two different forms from which data is being inserted into table. my problem is data from first form is inserted as one record and the data from second form is inserted as next record. please tell how to insert all data in same record iam using asp and access. i barely need the answer to run reports thanx in advance ![]() |
|
#2
|
||||
|
||||
|
You basically have two choices:
A) Insert what you have from form1 and make a note of the id (or whatever you're using for a primary key). Then, using that, UPDATE the record with the second bit of data from form2. -or- B) Collect all the info from form A, then collect all the info from form B and do it all as one INSERT. How would you pass the values from form1 to form2? You could make them hidden fields in form2, or make them into session variables. |
![]() |
| Viewing: Dev Shed Forums > Web Site Management > Scripts > database insertion |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|