Jon the "recordcount" is testing if the query returned any results. "len(xxxxxx) returns the length of a string or binary object. You will probably encounter many more flavors of CFIF's, tags, functions etc. In my experience the on-line documents which hopefully were installed with ColdFusion server are a great reference particularly the tags and functions listings. If you have either a local system with ColdFusion Studio and Server installed you can go to start-programs and find a link to docs there (if you have 4.5 or less). Alternatively you can log into ColdFusion Administrator and find a link to the on-line docs there.
Mike Brunt Sempra Energy 213.244.5226 "ASCII stupid question, get a stupid ANSI !" -----Original Message----- From: Jon Hall [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 29, 2001 4:40 PM To: CF-Talk Subject: cfif shorthand I'm working on some code that uses a shorthand (I guess...) cfif style quite a bit. I have tried to stay away from doing this since it makes the code harder to read, so I never really took the time to figure it out. For instance... <cfif query.recordCount> Is this testing for the existence of the query or if it is greater than zero? <cfif len(query.date)> This particular one has me scratching my head, it never seems to test negative in the code, but what is it testing for? Could someone please fill me in here... jon ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com 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

