cfswitch can only contain cfcase blocks, it wouldn't make any sense any other way. If you want conditionals then they have to be in a case, but by that very process it already has met some condition.
Have you missed something?.. How about the CFML reference :-) "This e-mail is from Reed Exhibitions (Gateway House, 28 The Quadrant, Richmond, Surrey, TW9 1DN, United Kingdom), a division of Reed Business, Registered in England, Number 678540. It contains information which is confidential and may also be privileged. It is for the exclusive use of the intended recipient(s). If you are not the intended recipient(s) please note that any form of distribution, copying or use of this communication or the information in it is strictly prohibited and may be unlawful. If you have received this communication in error please return it to the sender or call our switchboard on +44 (0) 20 89107910. The opinions expressed within this communication are not necessarily those expressed by Reed Exhibitions." Visit our website at http://www.reedexpo.com -----Original Message----- From: Will Tomlinson To: CF-Talk Sent: Wed Dec 20 00:15:07 2006 Subject: Who fixed it so ya can't set a var inside cfswitch? I just tried looping inside a cfswitch and setting some dynamic variables, and I got this stupid lookin typo'd error that read somethin like, "You can't use any tags other than cfcase and cfdefaultcase inside a cfswitch." So I hafta resort to cfif's for this? Amd I missin somethin? Will ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264545 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

