> 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.* :) But I can't directly enter a double quote or a pound sign without escaping or CF will throw an error...that's what I meant...and that's why I changed my testing methodology to make use of form fields for the data entry. ~Dina ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4