J
Jeroen Verdrengh
Hi,
I'm trying to open a recordset in vba, but it doesn't seem to work:
Stats_ConsultatiesBTWRapport_Totals is a query.
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("Stats_ConsultatiesBTWRapport_Totals")
Although the other parameters are optional, an error occurs saying that 3
params are needed. When I try dbOpenDynaset as second parameter, another
error occurs saying the variable is not defined..
greets,
Jeroen
I'm trying to open a recordset in vba, but it doesn't seem to work:
Stats_ConsultatiesBTWRapport_Totals is a query.
Dim rs As Recordset
Set rs = CurrentDb.OpenRecordset("Stats_ConsultatiesBTWRapport_Totals")
Although the other parameters are optional, an error occurs saying that 3
params are needed. When I try dbOpenDynaset as second parameter, another
error occurs saying the variable is not defined..
greets,
Jeroen