randika100100
Registered User.
- Local time
- Tomorrow, 00:38
- Joined
- Aug 31, 2011
- Messages
- 11
Hi all!
I'm trying to open a recordset from a query using following code.
It doesn't work. There are no errors and it doesnt fill the recordset either.I might have done something stupid and I apologize for asking this sort of stupid questions.Can someone plz help me. Thanks in advance
I'm trying to open a recordset from a query using following code.
Dim qdf As DAO.QueryDef
Dim rst As DAO.Recordset
Dim param As DAO.Parameter
Set qdf = db.QueryDefs("FilteredClientQueryForAddFamily")
For Each param In qdf.Parameters
param.value = Eval(param.Name)
Next param
Set rst = qdf.OpenRecordset
It doesn't work. There are no errors and it doesnt fill the recordset either.I might have done something stupid and I apologize for asking this sort of stupid questions.Can someone plz help me. Thanks in advance