Insert the data from a form to multiple rows in the access database

raman_160

New member
Joined
Jul 2, 2009
Messages
1
Programming Experience
Beginner
Hi

Can any one help me how to insert the data from a form to multiple rows in the access database.

For example: In a form if i have 14 fields, one the submit button is clicked 7 rows should be go into a row of the table and the remaining 7 should go to same table into a different row. The table has only 7 columns.

Thanks
Ram
 
You want to show and insert 2 rows worth of data at once?

What a strange app!

Read the Dw2 link in my signature, section "Creating a Simple Data App"
After you do this you'll have knowledg eof something called a TableAdapter. Just call its Insert twice:

tableadapter.Insert(textbox1.Text, textbox2.Text ....)
tableadapter.Insert(textbox8.Text, textbox9.Text ....)
 

Latest posts

Back
Top