B
Brian
I am helping someone redesign a database, and the original designer was
having problems with one existing table because it has a multiple key
involving a non-unique AutoNumber. That is, the primary key consists of two
fields:
1. Field1: AutoNumber, Indexed, Duplicates OK
2. Field2: Text, Indexed, Duplicates OK
I think I know how I want to resolve the problem (split it into two tables -
Table1 with a true unique Field1 that acts as a foreign key to Field1 in
Table2 that also contains Field2), but I cannot seem to find any
documentation on how the AutoNumber would function in the existing case.
The existing data has duplicates in the AutoNumber field, which is certainly
allowable based on the Indexed (DuplicatesOK) property, but how could they
even get there with an AutoNumber?
Maybe I'm just limited in my experience, but when might one need to use
AutoNumber with Indexed (DuplicatesOK)?
having problems with one existing table because it has a multiple key
involving a non-unique AutoNumber. That is, the primary key consists of two
fields:
1. Field1: AutoNumber, Indexed, Duplicates OK
2. Field2: Text, Indexed, Duplicates OK
I think I know how I want to resolve the problem (split it into two tables -
Table1 with a true unique Field1 that acts as a foreign key to Field1 in
Table2 that also contains Field2), but I cannot seem to find any
documentation on how the AutoNumber would function in the existing case.
The existing data has duplicates in the AutoNumber field, which is certainly
allowable based on the Indexed (DuplicatesOK) property, but how could they
even get there with an AutoNumber?
Maybe I'm just limited in my experience, but when might one need to use
AutoNumber with Indexed (DuplicatesOK)?