<cfif queryname.RecordCount LT 1>
Nothing here to show ya
<cfelse>
BOO! its halloween, something has been returned!
</cfif>

..tony

Tony Weeg
Senior Web Developer
Information System Design
Navtrak, Inc.
Fleet Management Solutions
www.navtrak.net
410.548.2337 


-----Original Message-----
From: Tim Laureska [mailto:hometeam@;goeaston.net] 
Sent: Thursday, October 31, 2002 8:27 AM
To: CF-Talk
Subject: basic question - testing for no reuslts from query


I'm ashamed to say I've been banging my head on this for an hour. what
is a simple way to code a statement that displays a message when a query
produces no results.. like:
 
 <CFIF.blah, blah>
NO RESULTS
<cfelse>
#RESULTS#
<CFIF>
I'm looking for what the "blah, blah" would be??
 
Tim Laureska
 




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm

Reply via email to