Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run-time error '3061' Too few parameters

Status
Not open for further replies.

wwiSports

Technical User
May 14, 2002
31
US
I have a form that on load it ask's for the date received, then another one that ask's for an existing id or if you would like to add a new one. when I type in "New" I get the following error:
Run-time error '3061':
Too few parameters. Expected 4

I am revamping the database, and I changed a few things on the form, and deleted a couple of text boxes that are no longer needed--but I did not do anything with the ID

When I press debug it highlight's the following piece of code:
Set AthRst = dbs.OpenRecordset(strSQL)

any suggestions?

Beth
 
What does strSQL look like. Robert Berman
Data Base consultant
Vulcan Software Services
thornmastr@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top