Too few parameters? Expected 1? With OpenRecordset(); RRS feed

  • Question

  • Public Function mmid()
    Dim db As DAO.Database
    Dim rst As DAO.Recordset
    Set db = CurrentDb()
    ---->>>>>Set rst = db.OpenRecordset("distinct-make")
    MsgBox ("please no error")
    End Function
    Does anyone know why I would be getting a too few parameters???

    • Edited by S.e.p.y Wednesday, December 14, 2011 7:07 AM
    Wednesday, December 14, 2011 7:06 AM