In CF5.0, You used to be able to do
<cfset x=1>
<cfset Result=iif(x,"z='Arg1';5","z='Arg2';10")>

Result takes the value of the right most argument of ";"
in this case Result=5
This doesnt work in CFMX.. any ideas?
I didnt see any documented changes on "IIF" in CFMX docs.

Joe

______________________________________________________________________
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to