Hi All,
I am trying to copy/transfer tables from one database to another BUT doing it from a master database. For example, the Master database has a button that when clicked will copy/transfer tables from database-A to database-B (so 3 databases in total)
I have searched for awhile and cannot find any way to do it so I thought maybe to copy/transfer the tables from database-A to the Master temporarily and then use the docmd.transferdatabase acExport to database-B.
I tried the below to import it to the master database, btw the strdatabase-A is the reference to the path to where the database is stored
Any help would be appreciated.
Thank you
I am trying to copy/transfer tables from one database to another BUT doing it from a master database. For example, the Master database has a button that when clicked will copy/transfer tables from database-A to database-B (so 3 databases in total)
I have searched for awhile and cannot find any way to do it so I thought maybe to copy/transfer the tables from database-A to the Master temporarily and then use the docmd.transferdatabase acExport to database-B.
I tried the below to import it to the master database, btw the strdatabase-A is the reference to the path to where the database is stored
Code:
DoCmd.Transferdatabase acImport , "Microsoft Access", acTable , strdatabase-A, acTable, "tblContacts", "tblContacts" , False
Any help would be appreciated.
Thank you
Last edited: