Insert ID into 2 linked tables

osani

Member
Joined
Apr 7, 2005
Messages
14
Programming Experience
1-3
HI,
I am very clumsy with vb.net and sql server, but I am trying to insert an id number into 2 tables that are linked. when I insert into one, it says I violated the foriegn key relationship with the other. How do I insert into both tables simultaneously using a sub routine in vb.net?:confused:

Thanks!!
 
Back
Top