G
Guest
I am working on a customer orders database. I have two tables - the Account
table (containing customer info such as name, address, etc.) - and the Order
table (containing order information such as quantity and item description).
Is there any way to set the tables up so that when an account is added to the
Account table, the AccountID (primary key) is automatically added to the
AccountID field in the Orders table (foreign key)? Or is there another way
for the user to not have to enter the AccountID manually into the Orders
table when setting up the first order for an existing customer?
Thanks!
table (containing customer info such as name, address, etc.) - and the Order
table (containing order information such as quantity and item description).
Is there any way to set the tables up so that when an account is added to the
Account table, the AccountID (primary key) is automatically added to the
AccountID field in the Orders table (foreign key)? Or is there another way
for the user to not have to enter the AccountID manually into the Orders
table when setting up the first order for an existing customer?
Thanks!