StructKeyExists takes a String as its second argument. 'dp' & daypartID & 'max' is a legitimate string.
mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2008/11/12 Charlie Griefer <[EMAIL PROTECTED]>: > On Tue, Nov 11, 2008 at 2:31 PM, Won Lee <[EMAIL PROTECTED]> wrote: > >> We just upgraded from 7 to 8 and I'm getting some unexpected behavior with >> StructKeyExists. >> I'm pretty sure this worked before: >> >> <cfif structkeyexists(arguments.myStruct,'dp' & daypartID & >> 'max')>..</cfif> >> > > structKeyExists(arguments.myStruct, variables['dp' & daypartID & 'max']) > > not sure i'd have expected the syntax you used to work (at least, not > without an evaluate()). don't have any older versions available to test on > tho. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315114 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

