I
iccsi
I have a pass through query which execute a stored procedure from SQL
Server backend.
I have following code to get record set of the query, but MS Access
fails.
It looks like MS Access can not use DAO to get recordset of pass
through query.
If yes, any work around?
Your information is great appreciated,
Dim qdfCurr As DAO.QueryDef
Dim rs As DAO.Recordset
Set qdfCurr = CurrentDb().QueryDefs("MyQuery")
qdfCurr.SQL = "EXECUTE MyStoredProcedure"
Set rs = qdfCurr.OpenRecordset()
MS Access fails when the code set recordset from DAO.QueryDef
Server backend.
I have following code to get record set of the query, but MS Access
fails.
It looks like MS Access can not use DAO to get recordset of pass
through query.
If yes, any work around?
Your information is great appreciated,
Dim qdfCurr As DAO.QueryDef
Dim rs As DAO.Recordset
Set qdfCurr = CurrentDb().QueryDefs("MyQuery")
qdfCurr.SQL = "EXECUTE MyStoredProcedure"
Set rs = qdfCurr.OpenRecordset()
MS Access fails when the code set recordset from DAO.QueryDef