G
Guest
I'm trying to open a DAO recordset with the following statement.
Set rst = CurrentDb.OpenRecordset(SQL, dbOpenDynaset)
SQL = "SELECT * FROM qryRptByArea WHERE IsNull(CloseOut)"
The message I'm getting is
Run-time error '3061':
Too few parameters. Expected 2.
Looks like 2 to me. Anyone know why I'm getting this message? If I run the
query it runs OK, and it does have a field called CloseOut.
Thanks.
Set rst = CurrentDb.OpenRecordset(SQL, dbOpenDynaset)
SQL = "SELECT * FROM qryRptByArea WHERE IsNull(CloseOut)"
The message I'm getting is
Run-time error '3061':
Too few parameters. Expected 2.
Looks like 2 to me. Anyone know why I'm getting this message? If I run the
query it runs OK, and it does have a field called CloseOut.
Thanks.