I have form based on table with following column name:
OrderID PK (autonumber), OrderNo, customer_id
OrderNo and coustomer_id are required fields
You are allowed to have Same customer, orderno one time.
For example:
1, 123 , tri-g allowed
My questions is that, for orderno with customer, I would like to prevent duplicates when entering in the form.
I can't make all the fields primary key because, as stated above that would cause duplication the customer with orderno.
Is there anyway to prevent duplicates for and when the user enters the
duplicates (customer_id with orderno, I would like to have message box pop up saying Duplicate order ?
OrderID PK (autonumber), OrderNo, customer_id
OrderNo and coustomer_id are required fields
You are allowed to have Same customer, orderno one time.
For example:
1, 123 , tri-g allowed
My questions is that, for orderno with customer, I would like to prevent duplicates when entering in the form.
I can't make all the fields primary key because, as stated above that would cause duplication the customer with orderno.
Is there anyway to prevent duplicates for and when the user enters the
duplicates (customer_id with orderno, I would like to have message box pop up saying Duplicate order ?
Comment