Hello, I have a query set up in my database that requires two dates. It is parameterized so it asks for the dates when it is run. The problem I am having is calling this query from code. It doesn't ask for the dates.
Set rs = db.OpenRecordset("qryClosedThisWeek"
produces the error: too few parameters expected two.
How can I send the dates when calling the query in VBA?
Set rs = db.OpenRecordset("qryClosedThisWeek"
produces the error: too few parameters expected two.
How can I send the dates when calling the query in VBA?