again, he hits send too fast....

as john stanley said, "contains", not "like"

...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: Tony Weeg [mailto:[EMAIL PROTECTED]] 
Sent: Monday, February 03, 2003 3:19 PM
To: CF-Talk
Subject: RE: CF 5 CFIF NOT LIKE


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