Too few parameters Expected 1

  • Thread starter Fred via AccessMonster.com
  • Start date
F

Fred via AccessMonster.com

I have set the Dim string and integer. Then I set up the strQry =.........

Then I have code to run the following to count the return of row:

modifActCount = Util.RunQuery(strQry, "rowsCount")

but i get the error Too few parameters Expected 1

Any suggestions?

Thanks,
Fred
 
D

Dave C

Error messages are sometimes red herrings -- in other words, the real problem
has nothing to do with the message you get.

Check to make sure you haven't misspelled the name of a field in your
strQry. Referencing a field that doesn't exist in a query can cause this
error.
 
Top