Skip to main content
October 25, 2006
Question

Too few paramaters, connecting form and query

  • October 25, 2006
  • 1 reply
  • 253 views
I have a login form that uses a seperate piece of code to validate the username and password from an Access database. I keep getting this error: "[Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2." I am fairly sure that there is something wrong with either my query or my param statements, but I can't figure out what it is!
This topic has been closed for replies.

1 reply

October 25, 2006
Try single quotes around the username and password:

WHERE username = '#form.username#' AND password = '#form.password#'