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 Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4