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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error 3061, too few parameters expected 1 has occurred. 1

Status
Not open for further replies.

craiogram

MIS
Feb 20, 2004
126
US
I have added the following line of code to delete the row off my temp table that I have just finished with but am getting the error in the subject. I've never seen this can any offer any suggestions? It appears to be correct syntax wise.

CurrentDb.Execute "DELETE FROM tempTbl WHERE txtID = IDHold;", dbFailOnError
 
I believe it is looking for IDHold. If this is a variable, you will have to put the value in the text (like "DELETE FROM tempTbl WHERE txtID=" & IDHold & ";"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top