A
Andy Levy
My form has two IDs, a main ID and a secondary ID
The main ID is an autonumber - so i can be sure that the number will always
be unique. Even if the last entered record is deleted - its ID number will
not be repeated ever.
However - I need to make the secondary ID unique as well - that is never
repeated. I can set its type to Integer, and set it to No Duplicates , but
if i delete a particular record in the database i could make a new record
and assign it the old ID accidentally.
My only idea was to create a table called usedSecondaryID and have it check
against that table each time i assign a secondary ID value. If the value has
been used before - then through up a msgbox. What do you think ?
Thanks again
Andy
The main ID is an autonumber - so i can be sure that the number will always
be unique. Even if the last entered record is deleted - its ID number will
not be repeated ever.
However - I need to make the secondary ID unique as well - that is never
repeated. I can set its type to Integer, and set it to No Duplicates , but
if i delete a particular record in the database i could make a new record
and assign it the old ID accidentally.
My only idea was to create a table called usedSecondaryID and have it check
against that table each time i assign a secondary ID value. If the value has
been used before - then through up a msgbox. What do you think ?
Thanks again
Andy