|
Question : Export table to another Access DB
|
|
Hi guys, II should have no problem with an export but I have a bad case of First-Day-Back-itis and can't get it to work!! I'm simply trying to export TABLE1 from DATABASE1 to DATABASE2
I tried DoCmd.TransferDatabase acEXPORT, "Microsoft Access","C:\DATABASE1.mdb", acTABLE, "TABLE1","C:\DATABASE2.mdb"
and I tried DoCmd.TransferDatabase acExport, , "C:\DATABASE2.mdb", , "TABLE1", "TABLE1"
Can some saint out there, take pity and put me out of my (self-inflicted) misery?? John
|
|
Answer : Export table to another Access DB
|
|
Ah! I missed the folder name out of the path of the destination database. How about:
docmd.TransferDatabase acExport,"Microsoft Access", "C:\Database\Database2.MDB", acTable,"Table1","Table2",False
JB
|
|
|
|