matrixknow
IS-IT--Management
- May 3, 2007
- 78
Hola,
It seems that you can't use OpenQueryDef in Access2000.
I need a query to feed my recordset and I can not hardcode this as an SQL statement in my sub. How to feed my recordset with a query as datasource ?
It seems that you can't use OpenQueryDef in Access2000.
I need a query to feed my recordset and I can not hardcode this as an SQL statement in my sub. How to feed my recordset with a query as datasource ?
Code:
Set qry = dbs.OpenQueryDef(strQueryName)
Set rst = qry.OpenRecordset()