> -----Original Message-----
> From: Dina Hess [mailto:[EMAIL PROTECTED]
> Sent: Monday, February 24, 2003 4:22 PM
> To: CF-Talk
> Subject: Re: unexpeted result with cfqueryparam
>
> >You have to perform all operations on the variable before you use it
> > in the SQL statement.
>
> Not really. I mean, not if you're sending a form variable directly to
> CFQUERYPARAM for a DB INSERT or UPDATE.

Exactly.

That would mean you are not processing the FORM variable at all.  You are
sending it directly to the action page where it is used in a cfquery.  I was
referring to processing with other functions, such as Trim() or
HTMLEditFormat().  Sending the data "directly" to the query would mean you
aren't processing it inside your SQL Statement.

--Andy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

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

Reply via email to