I have a form that, after clicking a button, appends line items to a table (I run an append query which extracts data from the form).
My problem is:
I want to create a protection against adding a line item which was previously added. I know how to use the RecordSet to search the existing table for duplicate values based on 1 field. However, in this table, an added line item is only uniquely defined by TWO fields. (Two primary keys)
Can anyone help?
[This message has been edited by wrek (edited 06-22-2001).]
My problem is:
I want to create a protection against adding a line item which was previously added. I know how to use the RecordSet to search the existing table for duplicate values based on 1 field. However, in this table, an added line item is only uniquely defined by TWO fields. (Two primary keys)
Can anyone help?
[This message has been edited by wrek (edited 06-22-2001).]