Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating ASP master/child relationships

Status
Not open for further replies.

Trekk

Programmer
Aug 16, 2001
66
US
I have several ASP pages that I have created from an access database. in access the database I have one form with several sub forms that are linked via master/child relationships. The form has several tabs which each tab is a sub form of the master. If you select a person in the master form and then go to each tab you see the data related to the master form.

SO the question is , how can I achieve this in ASP. I would like to link the pages via a master/child relationships so when the choose a person or product on the master page it will show the corresponding data on the other pages.

Example I have 3 pages, one is the member page where you enter a persons name address etc, then the other page is where you enter their products, and another page is where you enter their delivery dates and other info.
 
Set a session variable of the parent id, then use it as the key for the queries in rest of your pages. You could pass querystring values around too.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top