Guest_imported
New member
- Jan 1, 1970
- 0
- 0
- 0
I have the code fine in my function, and here it is:
Dim db As Database
Dim rst As Recordset
Set db = CurrentDb
Set rst = db.OpenRecordset("qryRetrieveAvgTempProfile", dbOpenDynaset)
and qryRetrieveAvgTempProfile is a valid, working select query but it always gives an error saying "Too few parameters. Expected 1" or whatever... Any help will be greatly appreciated because I've been trying to figure this out for 3 days now!!! AAAAAAAAAAAAAAAAAHHH!! hehe, please help me!!
Dim db As Database
Dim rst As Recordset
Set db = CurrentDb
Set rst = db.OpenRecordset("qryRetrieveAvgTempProfile", dbOpenDynaset)
and qryRetrieveAvgTempProfile is a valid, working select query but it always gives an error saying "Too few parameters. Expected 1" or whatever... Any help will be greatly appreciated because I've been trying to figure this out for 3 days now!!! AAAAAAAAAAAAAAAAAHHH!! hehe, please help me!!