StructKeyExists is good for this.
<cfif NOT StructKeyExists(stWSSB_Tickler,sku)>
<cfset stWSSB_Tickler[sku] = structNew()>
</cfif>
Steve
>Is there any way to do this w/o causing an error/exception if the structure
>does not exist?
>
><cfif NOT isDefined("stWSSB_Tickler[sku]")>
> <cfset stWSSB_Tickler[sku] = structNew()>
></cfif>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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