Yes, but you are setting the value using CFSET and CF will throw an error if
you enter double quotes or pounds via CFSET without escaping. But I suspect
you knew what I meant... :)

~Dina

----- Original Message -----
From: "Jochem van Dieten" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Monday, February 24, 2003 4:53 PM
Subject: Re: unexpeted result with cfqueryparam


> Dina Hess wrote:
> >>Dina Hess wrote:
> >>
> >>>><cfset value = "String">
> >>>><cfquery ..>
> >>>>INSERT INTO table (field)
> >>>>VALUES (<cfqueryparam cfsqltype="cf_sql_varchar" value="#value#">>
> >>>></cfquery>
> >>>>
> >>>>Make the value anything you want, quotes, backslashes etc., it will
> >>>>work.
> >>>
> >>>I did...and it doesn't. But I think I know why now.
> >>
> >>It doesn't? Even if you just use value="#value#" without any function
> >>calls?
> >
> > Right. I was taking you literally. You said enter *anything.* :)
>
> Anything isn't the problem, "value" is. I meant the variable named
> "value", not the argument named "value" ;-)
>
> Jochem
>
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to