How to add data into two table?

Reply

Join Date: Jun 2009
Posts: 95
Reputation: gingank is an unknown quantity at this point 
Solved Threads: 0
gingank's Avatar
gingank gingank is offline Offline
Junior Poster in Training

How to add data into two table?

 
0
  #1
Jul 6th, 2009
Hi do any one know how to add info into two table.
I hava a page call add page it will add the info into one of the two table base on the active account or non active account ?

Do anyone know use what method to do it using the VB 6 ?
Reply With Quote Quick reply to this message  
Join Date: Mar 2009
Posts: 799
Reputation: vb5prgrmr will become famous soon enough vb5prgrmr will become famous soon enough 
Solved Threads: 146
vb5prgrmr vb5prgrmr is offline Offline
Master Poster

Re: How to add data into two table?

 
0
  #2
Jul 6th, 2009
One table at a time. First Parent table then child table records. You can use the .AddNew method if you have a seperate rs for each table or use an insert into statement and execute it with the command object.


Good Luck
If anyone has helped you solve your problem, please mark your thread as solved.

Thanks
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC