L
Lathwella
Guest
HELP!!.
I am trying to build a record set from a query. The query has a criteria set in it refering to a field in another form. Everytime I run the code as follows:
"Set rosrecs = CurrentDb.OpenRecordset("SNGquery", dbOpenDynaset)". I get the following error message.
Run Time error 3061
To few Parameters. Expected 1.
If I remove the criteria the code works Ok.
I am using Access 97.
I am trying to build a record set from a query. The query has a criteria set in it refering to a field in another form. Everytime I run the code as follows:
"Set rosrecs = CurrentDb.OpenRecordset("SNGquery", dbOpenDynaset)". I get the following error message.
Run Time error 3061
To few Parameters. Expected 1.
If I remove the criteria the code works Ok.
I am using Access 97.