I have a query setup in Access that selects certain records. I need to run the query and get the records it returns in an ADO recordset so I can do further processing in code with the results of the query. I have tried:
rst.Open "qryQueryNameInAccess", CurrentProject.Connection, adOpenStatic, , adCmdStoredProc
and variations of this but I always get an error. I can open tables or pass SQL strings to the .open command successfully so I don't know why I cannot run a SELECT query successfully. Any ideas?
Thank You
rst.Open "qryQueryNameInAccess", CurrentProject.Connection, adOpenStatic, , adCmdStoredProc
and variations of this but I always get an error. I can open tables or pass SQL strings to the .open command successfully so I don't know why I cannot run a SELECT query successfully. Any ideas?
Thank You