L
Luther
I have a database with the following fields:
- enrollment (number)
- staff (yes/no)
- IPA (yes/no)
- Network (yes/no)
- Group (yes/no)
I have created another field (RESULT), which I would like
to populate with a code, based on what's in the above. I
need to build criterias for the here are some examples:
1. enrollment <=99,999 and JUST staff=yes (all others=no,
then RESULT = 20
2. enrollment <=99,999 and a mixture of yes in the staff,
IPA, network or group fields, then result=50. To clarify,
any combination of yes in these fields and enroll <=99999
then result = 50
If I can get these setup, I can duplicate the code for all
the other variations.
Appreciate this in advance !!! I probably need some hand
holding, since this is my first attempt at this somewhat
complicated query.
- enrollment (number)
- staff (yes/no)
- IPA (yes/no)
- Network (yes/no)
- Group (yes/no)
I have created another field (RESULT), which I would like
to populate with a code, based on what's in the above. I
need to build criterias for the here are some examples:
1. enrollment <=99,999 and JUST staff=yes (all others=no,
then RESULT = 20
2. enrollment <=99,999 and a mixture of yes in the staff,
IPA, network or group fields, then result=50. To clarify,
any combination of yes in these fields and enroll <=99999
then result = 50
If I can get these setup, I can duplicate the code for all
the other variations.
Appreciate this in advance !!! I probably need some hand
holding, since this is my first attempt at this somewhat
complicated query.