michellerobbins56
Programmer
Hi
I have a sql server database and some asp pages. I have two tables - one is a "quote basket contents" table and one is a "product" table that holds all my product items. I wish to add some product data to the quote basket contents table based on a certain product code (the product code is entered by the user). However first I need to extract the correct product data from the product table based on the product code entered by the user and then insert that product item into the quote basket contents table. I have experience using recordsets to insert data. However how would I do it when there are two tables involved? Normally when I loop through a recordset inserting or manipulating data it normally involves one table. Is there a way to deal with two tables or more at the same time?
Thank you very much for any help.
I have a sql server database and some asp pages. I have two tables - one is a "quote basket contents" table and one is a "product" table that holds all my product items. I wish to add some product data to the quote basket contents table based on a certain product code (the product code is entered by the user). However first I need to extract the correct product data from the product table based on the product code entered by the user and then insert that product item into the quote basket contents table. I have experience using recordsets to insert data. However how would I do it when there are two tables involved? Normally when I loop through a recordset inserting or manipulating data it normally involves one table. Is there a way to deal with two tables or more at the same time?
Thank you very much for any help.