Hi, I'm migration Access 2003 to 2007. There are a lot of linked table from Oracle. I create a ODBC point to Oracle instance, then in Access I link all table through ODBC. I use this code login, so the "Oracle ODBC Driver Connect" dialog box would not popup to ask password:
strConnect = "ODBC;DATABASE=" & strFCPD & ";DSN=PBRIS;UID=xxxxx;PWD=xxxxx"
Dim wsp As Workspace
Set wsp = DBEngine.CreateWorkspace("xxx", "xxx", "xxx", dbUseODBC)
Set dbs = OpenDatabase("", False, True, strConnect) ' connect via regular ODBC
dbs.Close
It works fine in 2003 but not in 2007. What's wrong here? What should I do?