Hello all. I am trying to determine if a query results in any records. Depending on the situtation (no records or mutiple records) I need to do different things. The query is based on a number of parameters found on an open form. Typically I open a recordset based the query to determine if there are any records:
Dim rssnap As Recordset
Set rssnap = CurrentDb.OpenRecordset("qryBenefit_Rates_2003", dbOpenDynaset)
However, this code results in a error indicating: "Too Few Paramaters. Expecting 7."
Any ideas what is wrong? Any ideas on a better method odf doing this.
Thank.
Dim rssnap As Recordset
Set rssnap = CurrentDb.OpenRecordset("qryBenefit_Rates_2003", dbOpenDynaset)
However, this code results in a error indicating: "Too Few Paramaters. Expecting 7."
Any ideas what is wrong? Any ideas on a better method odf doing this.
Thank.