*shrug* he'd already been told cfswitch was not good for what he's trying to do, figured I'd give him a way to do it if he *really* wanted to go that way :)
-----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: Monday, 12 November 2007 4:01 PM To: CF-Talk Subject: RE: Dynamic Variable in cfcase statement throws error. > it could be slow, but you could write your switch statement > on the fly into a file with a dynamic name in a temp folder, > let your main page include that file, then delete it upon > completion.. no idea what that would do to your overheads tho. Why on earth would you do that? That defeats the purpose of using CFSWITCH. If you have conditional logic that depends on values that are unknown until runtime, that's what CFIF is for. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Download the latest ColdFusion 8 utilities including Report Builder, plug-ins for Eclipse and Dreamweaver updates. http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293180 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

