Tronsliver
Technical User
I'm new to this so I would appreciate any help I can get I have a table with four fields: Comp, Educ, BA, Rank
The overall function of the query is to check and see if a person is eligible for promotion.
The "Rank" field has one of six values: 01, 02, 03, 04, 05, 06
For each of these values there is criteria in each of the other fields that determine if the person is qualified.
For example: O1 must have a value of 7 in the comp field, the "Educ" field must have a "N" or > and the "BA" field must have a value <> "J"
If the above criteria is met then they are eligible for promotion so the result of the query would be "Yes" and if the criteria is not met "No"
Each other value in the "Rank" field would go thru similar checks with the "Yes / No" being displayed in the end.
My thoughts would be to build a function in a module but I don't know how to transfer the the data to the function so it could perform its operation.
I'm also open for other suggestions. Again I'm fairly new to this so thank you.
The overall function of the query is to check and see if a person is eligible for promotion.
The "Rank" field has one of six values: 01, 02, 03, 04, 05, 06
For each of these values there is criteria in each of the other fields that determine if the person is qualified.
For example: O1 must have a value of 7 in the comp field, the "Educ" field must have a "N" or > and the "BA" field must have a value <> "J"
If the above criteria is met then they are eligible for promotion so the result of the query would be "Yes" and if the criteria is not met "No"
Each other value in the "Rank" field would go thru similar checks with the "Yes / No" being displayed in the end.
My thoughts would be to build a function in a module but I don't know how to transfer the the data to the function so it could perform its operation.
I'm also open for other suggestions. Again I'm fairly new to this so thank you.