Duh. Missed that. There sure is a query named isthere. I thought isthere.recordcount was a function of some kind.
-----Original Message----- From: Kris Jones [mailto:[email protected]] Sent: Friday, January 09, 2009 2:58 PM To: cf-talk Subject: Re: anybody see this before? "isthere" would be a variable reference to a query object with that name. "recordcount" is an attribute of a query object. isthere.recordcount would evaluate to a numeric of 0 or greater. If 0, it would evaluate in a boolean to false. Otherwise it would evaluate as true. No mystery here. Or am I just missing something? On Fri, Jan 9, 2009 at 2:48 PM, mark <[email protected]> wrote: > Working with some old code and found this.can't seem to find a reference via > adobe.com or google or books. Is it old or am I just missing something. > It does work. > > <cfif isthere.recordcount> > > Seems a clean way to check.does anyone use this? > > Mark > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:317665 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

