> ColdFusion throws a wobbly on this (and the other variations I've tried
>
> switch (Attributes.PeriodID) {
>    case (1,2,3) {
>       ...
>    }
>    case 4 {
>    }
> }
>
> Is there any way to provide multiple values?

Of course

switch (Attributes.PeriodID)
{       case "1":
        case "2":
        case "3":
        {       do stuff;
                break;
        }
        case "4":
        {       do other stuff;
        }
}

Philip Arnold
Director
Certified ColdFusion Developer
ASP Multimedia Limited
T: +44 (0)20 8680 1133

"Websites for the real world"

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
**********************************************************************


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
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