H
HOhrndorf
I am using MS Access 2002 SP3 and Oracle 9i.
On an Access form, I have created a list box. It is no problem to
populate it with the results of a SELECT on a local Access table, but
when trying to do so with an OLEDB-connected rowset or table, nothing
is displayed (no error, but also no results in the listbox).
The connection to Oracle was established by the following means:
con.Provider = "OraOLEDB.Oracle"
con.ConnectionString = "Data Source=FDB11G_bu;OSAuthent=1;"
con.Open
strSQL = "SELECT * from FDBAPPS.prodmeld"
rstProdmeld.Open strSQL, con, adOpenStatic, adLockReadOnly,
adCmdText
Navigating within the rows of rstProdmeld ist no problem (.MoveNext
etc.), but when trying to set the Listbox' source to that recordset
nothing happens:
lstTest2.RowSource = "SELECT * FROM rstProdmeld;"
Does anyone have an idea what's going wrong here? Do I need to use
other parameters when using the ".open" method?
On an Access form, I have created a list box. It is no problem to
populate it with the results of a SELECT on a local Access table, but
when trying to do so with an OLEDB-connected rowset or table, nothing
is displayed (no error, but also no results in the listbox).
The connection to Oracle was established by the following means:
con.Provider = "OraOLEDB.Oracle"
con.ConnectionString = "Data Source=FDB11G_bu;OSAuthent=1;"
con.Open
strSQL = "SELECT * from FDBAPPS.prodmeld"
rstProdmeld.Open strSQL, con, adOpenStatic, adLockReadOnly,
adCmdText
Navigating within the rows of rstProdmeld ist no problem (.MoveNext
etc.), but when trying to set the Listbox' source to that recordset
nothing happens:
lstTest2.RowSource = "SELECT * FROM rstProdmeld;"
Does anyone have an idea what's going wrong here? Do I need to use
other parameters when using the ".open" method?