T
Tito Luyo Murata
Hi all:
I think this is a stupid question, but here it goes (sorry for my english)
I have a classic Orders / OrderDetails tables in Access ( I suppose is same
in SQL server ),
Orders table have an autonumeric field, called OrderID , which is primary
key,
when I create a record in Orders table, through an SQL-INSERT command,
Access automatically give this record the OrderID,
the question is :
how can I get this number, OrderID to use, to put in OrderDetails related
rows.
I hope can understand me
Thanks in advance
Greetings
Tito
I think this is a stupid question, but here it goes (sorry for my english)
I have a classic Orders / OrderDetails tables in Access ( I suppose is same
in SQL server ),
Orders table have an autonumeric field, called OrderID , which is primary
key,
when I create a record in Orders table, through an SQL-INSERT command,
Access automatically give this record the OrderID,
the question is :
how can I get this number, OrderID to use, to put in OrderDetails related
rows.
I hope can understand me
Thanks in advance
Greetings
Tito