E
Emma
I have a customer database, with contact details as the main form, and orders
as the subform (on a tab). The customer ID is the primary key, and link
between the two forms, with the order ID on the order page as an auto number.
The problem I am having is that access won't let me add more than one order
to a customers contact details! I want to be able to open a customers
details, and see on the order tab the orders they have placed. When I try to
add a second order with the same customer ID, Access says it won't let me
duplicate the index/primary key.
I have allowed duplicates on the customer ID on the order form, what am I
doing wrong? I'm guessing I need the customer ID on the order form,
otherwise it won't link to the customer details. I had originally added the
Order form as a table at the end of the customer details form, but this
wasn't great, as it was difficult to view; however it did work!
Help!
as the subform (on a tab). The customer ID is the primary key, and link
between the two forms, with the order ID on the order page as an auto number.
The problem I am having is that access won't let me add more than one order
to a customers contact details! I want to be able to open a customers
details, and see on the order tab the orders they have placed. When I try to
add a second order with the same customer ID, Access says it won't let me
duplicate the index/primary key.
I have allowed duplicates on the customer ID on the order form, what am I
doing wrong? I'm guessing I need the customer ID on the order form,
otherwise it won't link to the customer details. I had originally added the
Order form as a table at the end of the customer details form, but this
wasn't great, as it was difficult to view; however it did work!
Help!