I have an MS Access database set up with a FE .mdb and a BE .mdb file. I want to add the ability to archive a table in the BE to a seperate database by the users clicking on a button on a form in the FE .mdb.
Here is what I would like to accomplish....
User clicks a button on the FE .mdb file
A copy of table [tblName] is pasted on a seperate .mdb file (Database2)
I am not sure of the best way to tackle this problem, I have been looking at a few different options but I was not sure.
I was thinking about creating the table on code (on the FE button click) using the CreateTableDef function (creating the table on Database2) but I have not gotten this to work.
After this I would simply append the records in the table to the newly created table.
If anyone has any ideas, let me know.
Thank you for your time,
T.J.
Here is what I would like to accomplish....
User clicks a button on the FE .mdb file
A copy of table [tblName] is pasted on a seperate .mdb file (Database2)
I am not sure of the best way to tackle this problem, I have been looking at a few different options but I was not sure.
I was thinking about creating the table on code (on the FE button click) using the CreateTableDef function (creating the table on Database2) but I have not gotten this to work.
After this I would simply append the records in the table to the newly created table.
If anyone has any ideas, let me know.
Thank you for your time,
T.J.