Mar 31, 2004 #1 VBAguy22 IS-IT--Management Aug 5, 2003 180 CA Hello, How do I copy myTable from C:\myDB1.mdb to C:\myDB2.mdb programatically using VB?
Mar 31, 2004 1 #2 p27br Programmer Aug 13, 2001 516 GB have a look at Docmd.transferdatabase Upvote 0 Downvote
Mar 31, 2004 Thread starter #3 VBAguy22 IS-IT--Management Aug 5, 2003 180 CA Do you have a code example? It's not working for me I put down DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\myDB1.mdb", acTable, "myTable", "C:\myDB2.mdb Upvote 0 Downvote
Do you have a code example? It's not working for me I put down DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\myDB1.mdb", acTable, "myTable", "C:\myDB2.mdb
Mar 31, 2004 1 #4 chris153 Programmer Jul 22, 2003 41 GB Hi, Try this code in MyDB1: DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\MyDB2.mdb", acTable, "MyTable", "MyTable" Upvote 0 Downvote
Hi, Try this code in MyDB1: DoCmd.TransferDatabase acExport, "Microsoft Access", "C:\MyDB2.mdb", acTable, "MyTable", "MyTable"
Mar 31, 2004 #5 p27br Programmer Aug 13, 2001 516 GB thanks for the star ! happy it helped paul Upvote 0 Downvote