"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 <m...@mdprofinish.com> 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:317664 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4