C
Charlie
I want to import (move, copy, or however/whatever I can do) a table from
db1.mdb to db2.mdb
The tables are the same structure. I just want to programmatically 'put'
all the data from table1 in db1.mdb into table1 of db2.mdb
The problem is that the table has relationships to other tables in db2.mdb
that I can't lose.
The DoCmd.TransferDatabase acLink, ... doesn't work, because it renames the
table with a 1 after it and I've lost my relationship.
Would there be some code that would go through the records in the first
table/database and copy them to the same table in second database? I'm not
familiar with working with recordsets in two different databases at the same
time.
Or can I just import the tables into db2 and then programmatically set up
the relationship?
This is frustrating...
thanks for any help
ck
db1.mdb to db2.mdb
The tables are the same structure. I just want to programmatically 'put'
all the data from table1 in db1.mdb into table1 of db2.mdb
The problem is that the table has relationships to other tables in db2.mdb
that I can't lose.
The DoCmd.TransferDatabase acLink, ... doesn't work, because it renames the
table with a 1 after it and I've lost my relationship.
Would there be some code that would go through the records in the first
table/database and copy them to the same table in second database? I'm not
familiar with working with recordsets in two different databases at the same
time.
Or can I just import the tables into db2 and then programmatically set up
the relationship?
This is frustrating...
thanks for any help
ck