> I can make it work without a cfqueryparam, but not WITH one. 
> I did the quotedvaluelist() thing... that part produces what I want.
> 
> But this won't work:
> 
> <cfqueryparam cfsqltype="cf_sql_varchar" 
> value="#PreserveSingleQuotes(VARIABLES.programlist)#"
> list="yes">
> 
> This will:
> #PreserveSingleQuotes(VARIABLES.programlist)#
> 
> Any ideas?

Have you tried using CFQUERYPARAM without PreserveSingleQuotes? You
shouldn't need it here. You don't need to provide a quoted list of values to
CFQUERYPARAM, as it will automatically tell the database what kind of values
are in the list.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244761
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to