Your test code works fine on my machine, what version of CF are you running where this code errors?
Andy Matthews wrote: > I've got a query named getproj which returns columns named a1-a12. > > I've got a series of drop downs corresponding to the above column names > which display values from 100-20 in descending order. > > I'm trying to acccess the value of each colum using bracket notation but I'm > getting an error on the server of the sort "trying to access complex > variable types..." > > Here's the statement I'm using: > > <cfif getproj["a#t#"] IS i> selected</cfif> > > The weird thing is that it appears to work locally. Here's my test code, I > know it's not a query object that I'm accessing, but it should work the same > as a structure right? > > Anyone have any ideas? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:248451 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

