I think that you need to have some parenthesis.

<CFIF (url.workgroup) neq "Conference" or (url.workgroup) neq "sales rep">

I have not tried this out though.

Bruce


-----Original Message-----
From: Orlini, Robert 
Sent: Thursday, December 13, 2007 5:34 AM
To: CF-Talk
Subject: or statement problems

I have an OR mixed into a simple CFIF, however, it will not do an "or" on
both fields:

<CFIF url.workgroup neq "Conference" or url.workgroup neq "sales rep"> does
not work

If I leave it as: <CFIF url.workgroup neq "Conference"> it works.

If I leave it as: <CFIF url.workgroup neq "sales rep"> it works.

What simnple thing am I missing here?

Thx.

RO
HWW




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294675
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to