If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Pass data from one table to another

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-18-05, 15:29
bjensen bjensen is offline
Registered User
 
Join Date: Feb 2005
Posts: 1
Pass data from one table to another

I have created a four page registration form which uses Access as the database (asp files). On the first page the user has to insert their member ID number, as well as other information, which inserts into table1. The user presses the submit button and is transferred to the second page which inserts information into table2 and so on for page 3 and 4. I need to have the memberID number inserted into each of the tables (2, 3 & 4) as it is the primary key. I could have the members insert their number on each of the pages but I think that is a little annoying and their is a concern they may not type it in correctly each time.

How do I pass the Member ID from page 1 and have it inserted automatically into MemberID fields for tables 2 3 & 4?

Your help would be greatly appreciated.

Thanks.

Barb
Reply With Quote
  #2 (permalink)  
Old 02-19-05, 18:25
White Knight White Knight is offline
Registered User
 
Join Date: Dec 2004
Location: York, PA
Posts: 95
Store it as a session
__________________
Sorry to be terse
some say it's a curse
I know it's worse
I'm just diverse
Reply With Quote
  #3 (permalink)  
Old 03-02-05, 19:48
Bullschmidt Bullschmidt is offline
Guru
 
Join Date: Jun 2003
Location: USA
Posts: 1,032
And along that line perhaps this may hopefully give you some ideas:

Classic ASP Design Tips - Login Page
http://www.bullschmidt.com/devtip-loginpage.asp
__________________
J. Paul Schmidt, Freelance Web and Database Developer
www.Bullschmidt.com
Access Database Sample, Web Database Sample, ASP Design Tips
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On