I have a central database which has links to some main tables in other databases. My boss wants me to export those tables to another mdb file each month so we can back up all the main tables we use.
What I want to do is automate this process so that I can go into a form and press a button and have Access spit all those tables to said .mdb file.
I set up some code to do this, but the problem is that Access will only tranfer the link... if the table in the database is linked. How can I get Access to transfer the table structure instead of the link?
For example: "FIDM_Collections" is actually a linked table in this database. What I want is to transfer the actual table to Central.mdb not just the link. Here's my code:
DoCmd.TransferDatabase acExport, "Microsoft Access", _
"J:\ocseuser\Public\Special Collections\MI Report Tool\Central Database\Central.mdb", _
acTable, "FIDM_Collections", "FIDM_Collections", False
What I want to do is automate this process so that I can go into a form and press a button and have Access spit all those tables to said .mdb file.
I set up some code to do this, but the problem is that Access will only tranfer the link... if the table in the database is linked. How can I get Access to transfer the table structure instead of the link?
For example: "FIDM_Collections" is actually a linked table in this database. What I want is to transfer the actual table to Central.mdb not just the link. Here's my code:
DoCmd.TransferDatabase acExport, "Microsoft Access", _
"J:\ocseuser\Public\Special Collections\MI Report Tool\Central Database\Central.mdb", _
acTable, "FIDM_Collections", "FIDM_Collections", False