<CFSET myDescription='This message is for Bryan!'>
<CFIF NOT FindNoCase('For ',Variables.myDescription)
        Free Gift
<CFELSE>
        No gifts for you
</CFIF>

============================================
Bryan F. Hogan
Director of Internet Development
Macromedia Certified ColdFusion MX Developer
Digital Bay Media, Inc.
1-877-72DIGITAL
============================================

-----Original Message-----
From: Rafael Alan Bleiweiss [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 03, 2003 3:12 PM
To: CF-Talk
Subject: CF 5 CFIF NOT LIKE


I need to verify if a field does NOT contain "FOR " ...  I have tried
<CFIF #ProductDesc# IS NOT LIKE "FOR ">FREE GIFT</CFIF>
and
<CFIF #GetProduct# NOT CONTAINS "FOR ">FREE GIFT</CFIF>

but both choke... For now I am using
<CFIF #GetProduct# CONTAINS "FOR "><CFELSE>FREE GIFT</CFIF>

Which is clugy - I need a way to do it without the CFELSE...


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to