D
Doug
Hi,
I have 2 tables (in SQL Server) and I need the primary key from the first
table to be the foreign key in the second table. If the user is entering
data that will be inserted into each table on the same form, is it the best
way to insert the values into the first table, then read it for the primary
key, store that value and build the SQL statement for the second insert
afterwards? If not, what would be a better way? Thank.
Respectively,
Doug
I have 2 tables (in SQL Server) and I need the primary key from the first
table to be the foreign key in the second table. If the user is entering
data that will be inserted into each table on the same form, is it the best
way to insert the values into the first table, then read it for the primary
key, store that value and build the SQL statement for the second insert
afterwards? If not, what would be a better way? Thank.
Respectively,
Doug