DH
Programmer
- Dec 8, 2000
- 168
What is the best way to accomplish the following.
Table:
tblCustomers
Table Fields:
CustomerID - autonumber
FirstName - text
LastName - text
A user enters the customer FirstName and LastName on a form and hits okay to close the form and they are done.
I have 2 other tables in the database:
tblOtherTable1
tblOtherTable2
Each one of these tables also has a CustomerID field.
I would like the other 2 tables to recognize that a new CustomerID was created when the user filled out the form and insert this CustomerID value into the 2 other tables.
What is the best way to get this new CustomerID value into the other 2 tables?
Thanks for any suggestions.
DH
Table:
tblCustomers
Table Fields:
CustomerID - autonumber
FirstName - text
LastName - text
A user enters the customer FirstName and LastName on a form and hits okay to close the form and they are done.
I have 2 other tables in the database:
tblOtherTable1
tblOtherTable2
Each one of these tables also has a CustomerID field.
I would like the other 2 tables to recognize that a new CustomerID was created when the user filled out the form and insert this CustomerID value into the 2 other tables.
What is the best way to get this new CustomerID value into the other 2 tables?
Thanks for any suggestions.
DH