Here is my SQL statement:
I get a "too few parameters error. Expecting 2" error. What is the problem here?
Code:
<cfquery name="EmpIn" datasource="Mileage">
SELECT EmpID
FROM Employee_Info
WHERE First_Name = '#Form.FirstName#'
And Last_Name = '#Form.LastName#'
</cfquery>
I get a "too few parameters error. Expecting 2" error. What is the problem here?