hpvic03
Technical User
- Aug 2, 2006
- 89
I'm trying to set up a web page so that people can fill out a form then it shows them a specific record in the databse, so I used this code:
<cfquery name="home" datasource="myDS">
SELECT fname, lname, email, password
FROM studentID
WHERE home.email = <cfqueryparam value="#form.email#">
AND home.password = <cfqueryparam value="#form.password#">
</cfquery>
to test it, I filled in one record in the database with information, then filled out the form to match. when i tried to test it, i get this error message:
Parameter home.password has no default value.
I am using Microsoft Access, and i am positive that I filled in the record and the form correctly. What is wrong? Help please!!!
<cfquery name="home" datasource="myDS">
SELECT fname, lname, email, password
FROM studentID
WHERE home.email = <cfqueryparam value="#form.email#">
AND home.password = <cfqueryparam value="#form.password#">
</cfquery>
to test it, I filled in one record in the database with information, then filled out the form to match. when i tried to test it, i get this error message:
Parameter home.password has no default value.
I am using Microsoft Access, and i am positive that I filled in the record and the form correctly. What is wrong? Help please!!!