C
cleaver
Any advice given will be much appreciated....I have a form
and a subform that I want to use for data entry. On the
form, there is a Customer ID Combo box and a Customer Name
field. When I select the Customer Id it automatically
fills in the Customer Name and retrieves all related
records into the subform. Customer Id is the primary key
for the Customer Name table. So when I go to add a record
to a customer, I keep getting an error message saying that
the primary key will be duplicated. I don't want the
Customer Id to be changed but mainly to retrieve the
related records.
How can I make my form so I'm able to add records without
duplicating a record in my Primary key table????
Thanks for any advice that can be given!!
and a subform that I want to use for data entry. On the
form, there is a Customer ID Combo box and a Customer Name
field. When I select the Customer Id it automatically
fills in the Customer Name and retrieves all related
records into the subform. Customer Id is the primary key
for the Customer Name table. So when I go to add a record
to a customer, I keep getting an error message saying that
the primary key will be duplicated. I don't want the
Customer Id to be changed but mainly to retrieve the
related records.
How can I make my form so I'm able to add records without
duplicating a record in my Primary key table????
Thanks for any advice that can be given!!