error 3061

  1. A

    Is it true that you can’t open a recordset if the query is based on a control on an open form?

    For example, I’m trying to write: Dim rec1 As Recordset Set rec1 = CurrentDb.OpenRecordset("MySchedulewXdept1") ‘This query (MySchedulewXdept1) is filtered based on the date that I have on another open form. I get a Run-time error '3061': Too few parameters. Expected 1. My main objective is...
  2. T

    RunTime error 3061

    Hello I am trying to get this code to work but I keep getting "Runtime error 3061, too few paramaters.Expected2. " Any ideas??? THANKS Dim stDocName As String Dim db As DAO.Database Dim rs As DAO.Recordset Set db = CurrentDb Set rs = db.OpenRecordset("qsrcLetter"...

Some videos you may like

This Week's Hot Topics