The only time I've had recordcount undefined is when 1) the query was
somehow invalid OR
2) the CFQUERY didn't contain a SELECT but instead did an INSERT or UPDATE.
I suggest you look more closely at your query to ensure it has no "hidden"
problems.
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 27, 2000 7:40 AM
To: CF-Talk
Subject: What is xy.recordcount ?
Hi List, I have a query (xy) where I want to make a cfif-question on
xy.recordcount.
What would xy.recordcount be if xy.recordcount would throw no record ?
I assumed "0". But it seems to be somehow undefined.
Ideas why and what it is ?
Should I prefer the "Count"-Statement from SQL for this ?
Uwe
Mail: [EMAIL PROTECTED]
Web: www.sdsolutions.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists