Hi folks,
was just wondering if any of you guys could shed some light on this error that is cropping up throughout my coldFusion project.
I am passing a parameter on my url, so the url would look like this:
../users/index.cfm?USERS_key=1&search=true
Unfortunately, i get the following coldFusion error thrown up. The error occurs in my sql statement where i am calling the parameter:
83: and USERS.USERS_key = '#URL.USRS_key#'
ColdFusion then outputs the entire select statement, and the last value is infact:
USERS.USERS_key= '1'
(which is the correct user key and is an actual user key in the database)
When I expanded the ColdFusion error, it explains it as thus:
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][MicroSoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
Then the usual bumpf.
Any and all help would be appreciated. Cheers
was just wondering if any of you guys could shed some light on this error that is cropping up throughout my coldFusion project.
I am passing a parameter on my url, so the url would look like this:
../users/index.cfm?USERS_key=1&search=true
Unfortunately, i get the following coldFusion error thrown up. The error occurs in my sql statement where i am calling the parameter:
83: and USERS.USERS_key = '#URL.USRS_key#'
ColdFusion then outputs the entire select statement, and the last value is infact:
USERS.USERS_key= '1'
(which is the correct user key and is an actual user key in the database)
When I expanded the ColdFusion error, it explains it as thus:
java.sql.SQLException: [Macromedia][SequeLink JDBC Driver][ODBC Socket][MicroSoft][ODBC Microsoft Access Driver] Too few parameters. Expected 1.
Then the usual bumpf.
Any and all help would be appreciated. Cheers