a1jit
11-13-2004, 03:28 AM
hI GUYS,
Normally i use this command to store data into database
adodc.Recordset.AddNew
It basically adds all the records into one particular table..
I was just wondering how do i add data into multiple tables
For and example, lets say i have 3 fields (Name, age and Gender)
I want Name and age to go into Personal table
I want Name and Gender to go into Personal1 table
How do i do that...i know how to write the sql command
For example
insert into Personal('Name','Age');
But how do i do using Visual Basic...The connection statements and all...
Is there any tutorial or anyone who can guide me through this
thankx in advance for any help
Normally i use this command to store data into database
adodc.Recordset.AddNew
It basically adds all the records into one particular table..
I was just wondering how do i add data into multiple tables
For and example, lets say i have 3 fields (Name, age and Gender)
I want Name and age to go into Personal table
I want Name and Gender to go into Personal1 table
How do i do that...i know how to write the sql command
For example
insert into Personal('Name','Age');
But how do i do using Visual Basic...The connection statements and all...
Is there any tutorial or anyone who can guide me through this
thankx in advance for any help