I have a parameter query based on fields in a form.
If I populate the form and manually open the query, records are correctly returned.
If I use the query in a recordset (the form is open and correctly populated) the vba opening the recordset returns a run-time error 3061 - Too few parameters. Expected 2
If don't stop the code, and manually open the query, no records are returned.
Why is this?
If I populate the form and manually open the query, records are correctly returned.
If I use the query in a recordset (the form is open and correctly populated) the vba opening the recordset returns a run-time error 3061 - Too few parameters. Expected 2
If don't stop the code, and manually open the query, no records are returned.
Why is this?