Sorry I meant: <cfif somequery.recordcount > ...
Kola -----Original Message----- From: Dave Watts [mailto:[EMAIL PROTECTED]] Sent: 16 July 2002 14:49 To: CF-Talk Subject: RE: Writing efficient CFIF statements > Has this always worked? > > I'm sure I tried it in an earlier version of cf (4.5) I think, > and it didn't work. > > Can anyone confirm this? If by "this", you mean the fact that CF evaluates non-zero values as true and zero as false, yes, that's worked in every version of CF back to at least 3. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ______________________________________________________________________ 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

