On my form, I have a combo-box with the record source linked to a table. The items in the table are serial numbers. Each serial number should correspond to one record. The serial number is indexed with No Duplicates.
The problem I am having is that when a serial number is used on a record, and I move to a new record, the previous (used) serial number still displays on the drop-down list as being available. (If the "used" serial number is selected, an error message will appear AFTER attempting to save the record advising that it cannot be saved because it would create duplicate records.)
How do I prevent "used" serial numbers from appearing on the drop-down list on a new record.
Thanks in advance for your time/help.
The problem I am having is that when a serial number is used on a record, and I move to a new record, the previous (used) serial number still displays on the drop-down list as being available. (If the "used" serial number is selected, an error message will appear AFTER attempting to save the record advising that it cannot be saved because it would create duplicate records.)
How do I prevent "used" serial numbers from appearing on the drop-down list on a new record.
Thanks in advance for your time/help.