G
Guest
Hi there all! I am using Access 2003 and I want to import all tables from one
DB into another at the click of a button. I've used DoCmd.TransferDatabase
acImport before, but there are 40 or 50 tables and I don't want to write a
line of code for every table.
I figure there's an easy way to loop through the table defs in the source DB
and then transfer them in (copying over the existing table) in my source.
What I am doing is allowing my users to copy the data from the source into a
sort of temp DB so they can play around with queries and reports. This way,
they can work with a copy of the live data instead of the actual data.
Any suggestions?
Thanks!!
CH
DB into another at the click of a button. I've used DoCmd.TransferDatabase
acImport before, but there are 40 or 50 tables and I don't want to write a
line of code for every table.
I figure there's an easy way to loop through the table defs in the source DB
and then transfer them in (copying over the existing table) in my source.
What I am doing is allowing my users to copy the data from the source into a
sort of temp DB so they can play around with queries and reports. This way,
they can work with a copy of the live data instead of the actual data.
Any suggestions?
Thanks!!
CH