maryjo2001
IS-IT--Management
We just upgraded to a Win2000 under NT machine using access97. When we used to use a regular NT machine with access97 i used a module with the transferdatabase method to import data from an oracle table. This worked just fine till we got the upgrade to Win2000. Now it tell me that "ODBC - call failed to "SourceDSN." I checked the connections and they are just fine. I made sure there were primary keys defined. I can see the data no problem but when I try to run the link automatically with the transferdatabase method I get the error. Is there something I am missing? I just don't understand how it can work when you manually enter the username and password to connect to the DSN but when you put in this code it won't work?
DoCmd.TransferDatabase acImport, "ODBC Database", _
"ODBC;DSN=B-Ora73;UID=xx;PWD=xx;LANGUAGE=us_english;" _
& "DATABASE=B-Ora73", acTable, "tbl", "tbl1", _
0, -1
HELP!
DoCmd.TransferDatabase acImport, "ODBC Database", _
"ODBC;DSN=B-Ora73;UID=xx;PWD=xx;LANGUAGE=us_english;" _
& "DATABASE=B-Ora73", acTable, "tbl", "tbl1", _
0, -1
HELP!