Not to mention the #'s around the variables are not necessary so you could
do this:-)
<cfif Get.RecordCount eq 0>
action to take
</cfif>
-----Original Message-----
From: Bill Plummer [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 25 May 2000 10:22 PM
To: [EMAIL PROTECTED]
Subject: RE: Why won't this <cfif> work?
Joel,
One to many >'s I think... This should work...
: <CFIF #Get.RecordCount# is 0>
: <BR><B>Please contact Us</B>
: </CFIF>
Bill
-----Original Message-----
From: Joel Firestone [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 25, 2000 8:06 AM
To: [EMAIL PROTECTED]
Subject: Re: Why won't this <cfif> work?
: <cfoutput>
: There are #Get.RecordCount# Dealers in Your State.
: </CFOUTPUT>
: <CFIF> #Get.RecordCount# is 0>
: <BR><B>Please contact Us</B>
: </CFIF>
Jeff:
Try:
<cfoutput>
There are #Get.RecordCount# Dealers in Your State.
</CFOUTPUT>
<CFIF Get.RecordCount is 0>
<BR><B>Please contact Us</B>
</CFIF>
You ended the <cfif before it could get to check the recordcount.
Hope this helps.
Joel
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
----------------------------------------------------------------------------
--
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.