TransferDatabase code problem

J

Jon

Greeting,

I use the following code to transfer data from mdb to another

DoCmd.TransferDatabase acExport, "Microsoft Access", GetOpenFile, cTable,
"table1", "table2"


but there is a problem with the relationship
Once I run commend, the following message appears:

You can not delete the table’table1’; it is participating in one or more
relationships.

Any help please??
 
Top