have you tried doing it nested inside of a cfswitch statement?


<cfif something>
    <cfswitch expression="#yourvariable#">
        <cfcase value="this"
            your code here
        </cfcase>
        <cfcase value="that"
            your code here
        </cfcase>
        <cfcase value="the_other_thing">
            more of your code here
        </cfcase>
    </cfswitch>
</cfif>
----- Original Message -----
From: "Michael Slatoff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, August 12, 2000 8:59 PM
Subject: dynamic cfcase?


> I've been working on redoing an intranet using the fuesbox methodology and
> was attempting to set up circuits that were based on a sql table. I've run
> in to a problem... <cfcase> doesn't like to be used inside of <cfif>. Does
> anyone know of a way of creating a dynamic <cfcase>?
>
> Michael Slatoff
> www.slatoff.com
>
>
> --------------------------------------------------------------------------
----
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
>

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to