In this case I think you need AND and not OR. With the logic you have below,
url.workgroup =  'sales rep', 'url.worgroup neq 'Conference'' will evaluate
to true and vice verca. You may also want to use ListFindNoCase like so:

<cfif not ListFindNoCase('Conference,sales rep', url.workshop)>...</cfif>

Regards,

Dominic


On 13/12/2007, Orlini, Robert <[EMAIL PROTECTED]> wrote:
>
> 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:294677
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to