Copy an MS Access database programmically

J

Java

Hi!
I am created a form that when the user selects a project, it will put a copy
of the database to that directory. My problem is how do I or can I COPY the
whole database to a new location, not create a new database. This database
that will be copied has linked tables, queries, forms, a macro & a code
module. After copying the database to its new location the tables will need
to be relinked with the tables in the new location. Is this possible to do
in code?
I looked at Do.Cmd.TransferDatabase but it transfers objects such as a
table.
I also looked at Do.Cmd.CopyObject which is similar to the TransferDatabase
method.
 
Top