vb6-Runtime error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • 101
    New Member
    • Mar 2007
    • 3

    #1

    vb6-Runtime error

    Tell me what's wrong in the statement
    recordset.open "select name from tablename where birthdate=4/3/2007",con
    runtime error as :no value is given to 1 or more parameters required.
  • hariharanmca
    Top Contributor
    • Dec 2006
    • 1977

    #2
    Originally posted by 101
    Tell me what's wrong in the statement
    recordset.open "select name from tablename where birthdate=4/3/2007",con
    runtime error as :no value is given to 1 or more parameters required.

    which Database MS Access or Sql Server

    Comment

    • hariharanmca
      Top Contributor
      • Dec 2006
      • 1977

      #3
      Originally posted by 101
      Tell me what's wrong in the statement
      recordset.open "select name from tablename where birthdate=4/3/2007",con
      runtime error as :no value is given to 1 or more parameters required.

      Change the QRY like

      Code:
      "select name from tablename where birthdate= '4/3/2007' "
      this

      Comment

      Working...