Brian,

Yes, I believe that is true and this is the circumstance where you must use
CFIF/CFELSE/CFELSEIF.  

There's an article on this topic (cfswitch/cfif) at:

http://blog.dasignz.com/blog/post/2008/07/CFSWITCH-Vs-CFIF.aspx

(sadly posted on a .NET site though)

Sincerely,

Dave Phillips

-----Original Message-----
From: Brian Dumbledore [mailto:[EMAIL PROTECTED] 
Sent: Monday, August 04, 2008 9:13 AM
To: CF-Talk
Subject: cfswitch

Can someone confirm that we cann't actually use variables in cfswitch case
values ???
I feel it is ridiculous.. What is the reasoning behind this if it si true?

I tried..

<cfcase value="#CONST1#">...</cfcase>
<cfcase value="#CONST2#">...</cfcase>

etc, where CONST1 and CONST2 are cfset in the application.cfm

and it complains..





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:310132
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to