> 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?
What do you mean by "does not work"? Are you getting an error? As it stands, your condition doesn't really test anything, since every possible value will return a result of true. If you're trying to exclude two values for URL.workgroup, you need an AND. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:294674 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

