I know it is not clear in the docs, but my understanding of preserveSingleQuotes function is that it cannot be used outside a <CFQUERY tag, or for the least, it will be inoperant outside.
The role of the preserveSingleQuotes function is only to set a flag somewhere to prevent single quotes escaping when outputing the content of a variable inside a <CFQUERY tag. The docs also make it clear, although it do not explain why, that the "function" only accept a variable. Then calling the function on a variable outside a <CFQUERY just does nothing, calling it on something else than a variable apparently even causes an error. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 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

