Is there a way to do multiple values per case statement when doing a switch inside of a <cfscript> tag?
<cfscript> switch (iAnsType){ case 6 : sAnswer = Replace(sAnswer, ",", "|", "ALL"); case 7 : sAnswer = Replace(sAnswer, ",", "|", "ALL"); } </cfscript> EG, I was hoping to do this <cfscript> switch (iAnsType){ case 6, 7 : sAnswer = Replace(sAnswer, ",", "|", "ALL"); } </cfscript> Eric ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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