J
Jeffrey O'Donnell via AccessMonster.com
I'm trying to search the forum for a fix to my particular problem but I
don't know the proper terms for what I'm trying to do. So my searches are
not producing the expected results. I'm looking for some keywords.
I have a form that contains typical employee data stuff (names, locations,
sections, and various dates). I'm trying to assign raters and reviewers to
each employee.
I've created a combo box of potential raters that is based on a query that
gets its criteria from the employee's section name displayed in a text box
on a form. (e.g. For an employee who works in the HR section, the rater
combo box displays all other employees assigned to the HR section.) For
the majority of the employees, this query works fine. My problem is with
Section Heads who are rated by someone outside their section. We have 22
possible sections.
I'd like to have the application evaluate the employee's section name. If
SectionName = HR then return all other records that have their section name
containing HR or MGT.
If SectionName = MGT then return all other records that have their section
name containing MGT or EXEC. Again, we have 22 sections.
I don't know what that procedure is called so I don't know what terms to
use when I seach the forum for help. I've tried "If statements", "Case
statements", "Query by variables", "Query with VBA" but they don't seem to
be producing a fix for my problem. So, I figured I must not be asking the
right question.
Any help would be greatly appreciated.
don't know the proper terms for what I'm trying to do. So my searches are
not producing the expected results. I'm looking for some keywords.
I have a form that contains typical employee data stuff (names, locations,
sections, and various dates). I'm trying to assign raters and reviewers to
each employee.
I've created a combo box of potential raters that is based on a query that
gets its criteria from the employee's section name displayed in a text box
on a form. (e.g. For an employee who works in the HR section, the rater
combo box displays all other employees assigned to the HR section.) For
the majority of the employees, this query works fine. My problem is with
Section Heads who are rated by someone outside their section. We have 22
possible sections.
I'd like to have the application evaluate the employee's section name. If
SectionName = HR then return all other records that have their section name
containing HR or MGT.
If SectionName = MGT then return all other records that have their section
name containing MGT or EXEC. Again, we have 22 sections.
I don't know what that procedure is called so I don't know what terms to
use when I seach the forum for help. I've tried "If statements", "Case
statements", "Query by variables", "Query with VBA" but they don't seem to
be producing a fix for my problem. So, I figured I must not be asking the
right question.
Any help would be greatly appreciated.