S
Steven
I am trying to open a recordset that is a query. The query is saved as
"qDepositSlip". The query has 6 fileds and 3 fileds where the criteria is
based on textboxes in a form. In the Criteria of the query for those 3
fields it has [Forms]![NameOfForm]![NameOfTextbox]. The problem is that when
I try to say
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("qDepositSlip")
It tells me Too few parameters. Expected 3.
How do I fix this?
Thank you,
Steven
"qDepositSlip". The query has 6 fileds and 3 fileds where the criteria is
based on textboxes in a form. In the Criteria of the query for those 3
fields it has [Forms]![NameOfForm]![NameOfTextbox]. The problem is that when
I try to say
Dim db As Database
Dim rs As Recordset
Set db = CurrentDb()
Set rs = db.OpenRecordset("qDepositSlip")
It tells me Too few parameters. Expected 3.
How do I fix this?
Thank you,
Steven