Thanks, that enabled me to remove the single and double quotes all together (which I'll keep for now, as it has eliminated the errors I was getting), but how do I escape them so that they remain, but don't upset the SQL statement? I tried:
<cfset formVar =...
I'm having trouble figuring out how to escape single quotes that my users may input. The variable in my SQL statement looks like this currently:
SET
PIR = '#evaluate("Form.PIR_#PIRID#")#'
I've had to write it like this so that when the user is editing a record, they are able...
After spending a while sorting out the SQL for my query, it seems to be working, and is pulling back the information I want. However, when I try to output the query into a table, I end up with duplicate information in the cells (where multiple entries are allowed for the same record). I've...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.