Results 1 to 2 of 2

Thread: runtime error 3061 too few parameters

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    110

    runtime error 3061 too few parameters

    im wondering, and i dont know what triggered this error because it was working awhile ago... now it doesnt...

    it shows that error.. what could be wrong?

    VB Code:
    1. Private Sub Form_Load()
    2.     Set dbIntermed = DBEngine.OpenDatabase(App.Path & "\Intermed.mdb")
    3.     Set rsPromo = dbIntermed.OpenRecordset("PromotionalMaterial")
    4.     'Set rsPromo = dbIntermed.OpenRecordset("SELECT * from PromotionalMaterial where ProgramID like '" & frmProgram.txtProgID.Text & "*'")
    5.     InitGrid
    6.     FillGrid
    7. End Sub
    *error highlighted the commented line

  2. #2

    Thread Starter
    Lively Member
    Join Date
    Jan 2006
    Posts
    110

    Re: runtime error 3061 too few parameters

    sorry found the problem... i took out the field...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width