<cfif not (variables.productDesc like "For")>Free Gift</cfif>

not tested, but should work....

...tony

Tony Weeg
Senior Web Developer
UnCertified Advanced ColdFusion Developer
Information System Design
Navtrak, Inc.
Mobile workforce monitoring, mapping & reporting
www.navtrak.net
410.548.2337 

-----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
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

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

Reply via email to