Hi to all..
The relationships in my database depend on autonumbered primary keys. Occasionally access will crash, causing all primary key values to be reset in tables. Now that the primary keys are rest, the table relationships are no longer valid.
Example:
For two tables, Suppliers, and Addresses
In Addresses the promary key is AddressID.
In suppliers I have a field AddressID. If access crashes the primary key index goes back to 1 in Addresses, and the Suppliers tables will refer to an AddressID with a no longer (or incorrect now) AddressID since all addressID's were reset.
Any suggestions? (other than making a backup of course)
I'm sure someone came across this before.
Thanks
Ilan
The relationships in my database depend on autonumbered primary keys. Occasionally access will crash, causing all primary key values to be reset in tables. Now that the primary keys are rest, the table relationships are no longer valid.
Example:
For two tables, Suppliers, and Addresses
In Addresses the promary key is AddressID.
In suppliers I have a field AddressID. If access crashes the primary key index goes back to 1 in Addresses, and the Suppliers tables will refer to an AddressID with a no longer (or incorrect now) AddressID since all addressID's were reset.
Any suggestions? (other than making a backup of course)
I'm sure someone came across this before.
Thanks
Ilan
Comment