Aidan, > ColdFusion throws a wobbly on this (and the other variations I've tried > > switch (Attributes.PeriodID) { > case (1,2,3) { > ... > }
You need a break; in the end of each case. That'll break out of the switch when one of the cases are met and carry on with the next lot of code. Regards Stephen ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists