I have a connection to an Oracle DB and it works fine. Once I try to create a recordset though, I get the following error.
"Ora-00942 Table or view does not exist"
I have an Access 2000 odbc linked connection to the same oracle DB and I know what the table names and field names are so that isn't the problem.
sConn = "Provider=MSDASQL.1;DRIVER={Oracle73 Ver 2.5};UID=noOne;PWD=changeme;DBQ=LSUNITS.WORLD;ASY=OFF;"
Set cn = New ADODB.Connection
cn.CursorLocation = adUseServer
cn.ConnectionString = sConn
cn.Open
Set rs = New ADODB.Recordset
sSQL = "SELECT * FROM LSMGR_ACCT"
rs.Open sSQL, cn
"Ora-00942 Table or view does not exist"
I have an Access 2000 odbc linked connection to the same oracle DB and I know what the table names and field names are so that isn't the problem.
sConn = "Provider=MSDASQL.1;DRIVER={Oracle73 Ver 2.5};UID=noOne;PWD=changeme;DBQ=LSUNITS.WORLD;ASY=OFF;"
Set cn = New ADODB.Connection
cn.CursorLocation = adUseServer
cn.ConnectionString = sConn
cn.Open
Set rs = New ADODB.Recordset
sSQL = "SELECT * FROM LSMGR_ACCT"
rs.Open sSQL, cn