Importing/Exporting Relationships in MS Access
Posted
by lamcro
on Stack Overflow
See other posts from Stack Overflow
or by lamcro
Published on 2008-12-09T23:48:01Z
Indexed on
2010/04/16
7:13 UTC
Read the original article
Hit count: 319
I have a couple of mdb files with the exact table structure. I have to change the primary key of the main table from autonumber to number in all of them, which means I have to:
- Drop the all the relationships the main table has
- Change the main table
- Create the relationships again,... for all the tables.
Is there any way to export the relationships from one file and importing them to all the rest?
I am sure this can be done with some macro/vb code. Does anyone has an example I could use?
Thanks.
© Stack Overflow or respective owner