I used the following statement to successfully transfer and export form objects. Perhaps including quotes and fully qualified paths the statement will work.
When you get close, the error messages will start telling you which argument or part is not working. I finally got it by trial and error. **********************************************
DoCmd.TransferDatabase acExport, "Microsoft Access", "U:\Contacts\Test.mdb", acForm, "Contact Types", "frmContactTypes" ********************************************
I hope this helps, good luck.
You are right the quotes made the difference DoCmd.TransferDatabase acImport, "ODBC", "ODBC;DSN=JRNL", acTable, "UNNAMED", Text4
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.