I have a database in access 2007 accdb extension , there are more or less 30-40 tables with related primary key “local_number”. it is a text primary key with 10 lenght.
How can I change the length of this primary key to 30 WITHOUT delete previosly all the 30 relationship.
- A similar question.
I need add a compose primary key to my PK “local_number”. I need Add a “Date” as composed PK.
Then access just allow this if I first delete all relationships.
How can Avoid this warning and change my PK ignoring this message.
Reason of compose PK in each table is requirement of a historical data change in records.
update, Someone know if this is possible or i hace to delete all relationships?
Make a copy of the database with existing relationships.
Delete all the relationships in the original copy.
Then use code to copy the relationships from the backup to the original copy.
I’m assuming you retain the same name for the PK field that’s being edited, but even so, you can alter the code from the MS Knowledge Base at the cited URL to account for that.