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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top