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:

<cfif isDefined("stWSSB_Tickler")>
    <cfif NOT StructKeyExists(stWSSB_Tickler,sku)>
      <cfset stWSSB_Tickler[sku] = structNew()>
    </cfif>
</cfif>

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

Reply via email to