Thank you for the suggestion. I tried DoEvents and the same 3011 error occurred at the second TransferDatabase command. Evidently the second transfer collected the Oracle data. The problem seems to be creating the Access table. For some reason VBA cannot see the table collection. I...
I am importing data to Access 2002 from an Oracle database. My vba code is:
Sub importTbl()
DoCmd.TransferDatabase acImport, "ODBC", "ODBC;DSN=myDSN;UID=myUID;PWD=myPW", acTable, "SourceTbl", "DestTbl", False
' the above transfer is succesful.
' The next transfer produces an error...
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.