The logic is wrong. If workgroup = "Conference" it'll enter the cfif, if
workgroup = "sales rep" it'll enter the cfif.

Sounds like you want it to enter the block if it isn't "Conference" AND it
isn't "sales rep".

Try changing the OR to an AND.

Adrian Lynch

-----Original Message-----
From: Orlini, Robert
Sent: 13 December 2007 13:34
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:294676
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