CFQUERYPARAM
I would like to use user input as CFQUERYPARAM for example,
I have txtMyID on the form and would like to use user input as my query parameter.
I tried to use
<cfqueryparam value = "#trim(form.txtMyID)#" CFSQLTYPE = "cf_sql_integer">
but does not work,
I tried the following which works, but I need get the value from user enter.
<CFSET MyID = "1">
<cfqueryparam value = "#MyID#" CFSQLTYPE = "cf_sql_integer">
Your help and information is great appreciated,
Regards,
Iccsi
