Hi. I'm having a problem with structkeyexists and hope someone can help me out. I'm running CFMX7.0.2 on Apache2.0.59.
I have loaded an XML file into a structure. This structure is then copied using duplicate() (let's call the structure "IMS"). A cfdump of this copied structure shows the key and value. This example has only one pair. Let's call them key=ONE, value=FUBAR. I can also run a collection loop over this structure and it will print the key and value to screen. When I try and use the following line, however, <cfset abc = structkeyexists(IMS,"ONE")> and output abc I get the answer NO. It should be YES. isDefined doesn't work either. BUT if I then output that structure to a list (structkeylist) and run a "find" over it for "ONE", I get a result. I don't know what's going on. Can anyone help? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:281501 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4