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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do you insert multiple records into a database?

Status
Not open for further replies.

DonCL

Programmer
Jul 16, 2001
43
US
Hello, i have a form where members can purchase products from. the format is like this:
qty-----product------price----select to purchase----
3--------shirt-------5.00-------form checkbox-------
1--------pants-------10.00-------form checkbox------

my question is: how can i make it so when a user checks multiple checkboxes, those products will be inserted into multiple rows in my database? i am using Access. when i submit the form, only one record goes in, i need multiple records to be inserted in case the customer buys more than one product. Thanks!
 
thanks for the link, but i should have mentioned that i need it in jsp. is there any way to do this?
 
not sure, you could look on macromedia's site possibly. "Damn the torpedoes, full speed ahead!"

-Adm. James Farragut

Stuart
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top