This thread is odd. As Tim pointed out earlier, any non-zero value evaluates as TRUE so you can just say <cfif myQuery.RecordCount> and be done with it. That's far cleaner for the eye.
----- Original Message ----- From: "Patrick McElhaney" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, July 17, 2002 12:20 AM Subject: RE: Writing efficient CFIF statements > Clean and fast: > > <cfset QueryResults = (myQuery.RecordCount gt 0)> > > Patrick > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

