K
Kurt Neumann
i'm self taught and use recordsets in access 2000 vba, usually without
problems, but i'm trying to use a query to define a recordset, and i keep
getting an inaccurate parameters error, needing 4!
here is the type codes i've tried:
Dim db As Database
Dim r As DAO.Recordset
Set db = CurrentDb
Set r = db.OpenRecordset("qu_approval", dbOpenDynaset, dbSeeChanges)
or
Dim db As Database
Dim r As DAO.Recordset
Dim qdf As DAO.QueryDef
Set db = CurrentDb
Set qdf = db.QueryDefs("qu_approval")
Set r = qdf.OpenRecordset
any help? thanks
problems, but i'm trying to use a query to define a recordset, and i keep
getting an inaccurate parameters error, needing 4!
here is the type codes i've tried:
Dim db As Database
Dim r As DAO.Recordset
Set db = CurrentDb
Set r = db.OpenRecordset("qu_approval", dbOpenDynaset, dbSeeChanges)
or
Dim db As Database
Dim r As DAO.Recordset
Dim qdf As DAO.QueryDef
Set db = CurrentDb
Set qdf = db.QueryDefs("qu_approval")
Set r = qdf.OpenRecordset
any help? thanks