If you're going to suggest parenthesis, then they should be written as: <CFIF (url.workgroup NEQ "Conference") or (url.workgroup NEQ "sales rep")>
Anyway, there's no reason why his statement shouldn't have worked, parenthesis or no. So, he has something else going on. On Dec 13, 2007 8:47 AM, Bruce <[EMAIL PROTECTED]> wrote: > 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:294679 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

