Re: Help Needed

From: Geoff Muldoon <geoff.muldoon_at_trap.gmail.com>
Date: Wed, 11 Nov 2009 10:34:27 +1100
Message-ID: <MPG.2564a38f6e64ccbd98979e_at_news.x-privat.org>



In article <dc224e63-918d-4755-a6c5-bfa67fa035b9 _at_h2g2000vbd.googlegroups.com>, Pankaj says...
> On Nov 10, 5:28 pm, Geoff Muldoon <geoff.muld..._at_trap.gmail.com>
> wrote:
> > Pankaj says...
> >
> > > I have this enhancement where I have to EXCLUDE all users with roles <
> > > 1000 but keeping following in mind
> > > 1) role < 1000 and user should not be in any other role
> > > OR
> > > 2) role < 1000 and role BETWEEN 9000 and 9010 and user should not be
> > > in any other role.
> >
> > These two conditions seem to clash with each other, everyone that meets
> > the second criteria seem to have been covered by the first one.
> >
> > GM
>
> Thanks Geoff. But user Moore becomes eligible for the first
> requirement (his role < 1000 and does not have any other role). and
> not for second (role < 1000 and does not have any role between 9000
> and 9010).

Moore currently only has a role of 45, so yes, he is eligible under the first requirement.

If Moore also had a role of 9001, he would NOT be eligible under the FIRST requirement (even though he would be eligible under the second requirement) because the roles 9000-9010 are still part of "any other role".

What are you trying to actually get? Users that have roles that are only between 0-1000 and 9000-9010?

GM Received on Tue Nov 10 2009 - 17:34:27 CST

Original text of this message