Hi Claude, thanks for your reply. we want to allow users to be able to enter either single or double quotes in the fields
thanks > >>try reversing the quotes, using double quotes in a query shouldn't > actually > work anyway. > > Exact. But then the problem may arise with single quotes in the > parameter. > Allowing single or double quotes in an id field in a database is > looking for trouble. > If quotes are not supposed to be used, may be some validation before > the query is made could solve the problem. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345665 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm