RE: Testing for the existence of a dynamic structure that may or may not exist.
Josh, Steve... thanks so much! -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: Monday, July 02, 2007 3:05 PM To: CF-Talk Subject: Re: Testing for the existence of a dynamic structure that may or may not exist. > Is there any way to do this w/o causing an error/exception if the > structure does not exist? Did you mean the top level struct not existing? You could do this: -- Josh ~| ColdFusion MX7 and Flex 2 Build sales & marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282737 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Testing for the existence of a dynamic structure that may or may not exist.
> Is there any way to do this w/o causing an error/exception if the > structure > does not exist? Did you mean the top level struct not existing? You could do this: -- Josh ~| CF 8 â Scorpio beta now available, easily build great internet experiences â Try it now on Labs http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_adobecf8_beta Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282733 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Testing for the existence of a dynamic structure that may or may not exist.
StructKeyExists is good for this. Steve >Is there any way to do this w/o causing an error/exception if the structure >does not exist? > > > > ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:282732 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4