What does Run-time error 3061: Too few parameters. Expected 1 mean?
I have had this error when using the OpenRecordset method (DAO code) when I have misspelled a table field name in the SQL. After experimenting a bit, I found that it also occurs with some SQL syntax errors. So – the error probably means that the SQL is incorrect and cannot be run. If you misspell the table name with SQL in DAO code then you may get run-time error 3078 instead; this has a very clear error message explaining the likely cause of the error. Look at the end of section 6.6 of the Getting Started VBA Trainer for a list of common mistakes when writing embedded SQL using the DoCmd.RunSQL method; this list also applies to SQL embedded in DAO code.