As I've said, is it possible that his query is returning a column named URL. And since he's inside a cfoutput block, cf looks to the query first when dereferencing variables (I believe). What's the order again?
So a reference to url becomes a reference to queryname.url, which is a string. Although if this type of thing was the case, I would imaging that this would've came up before on this list... Russ > -----Original Message----- > From: Aaron Rouse [mailto:[EMAIL PROTECTED] > Sent: Tuesday, June 27, 2006 4:44 PM > To: CF-Talk > Subject: Re: is URL a structure, or not? > > True, which he does in some of his tests but code migrating from CF 4.5 > more > than likely would not be doing that on the URL scope :) Regardless his > sample code works for me in two different versions of MX and only change I > did was the query I changed the datasource name and made a temp table to > reference. > > On 6/27/06, Matt Williams <[EMAIL PROTECTED]> wrote: > > > > Preferred way to do this is > > <cfif StructKeyExists(URL, 'TestValue')> > > > > On 6/27/06, Russ <[EMAIL PROTECTED]> wrote: > > > > > > Any chance that the query modusers has a field called URL? > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:244915 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

