S
Scott Campbell
I have a table 'tbl_employees" with the following field:
EmployeeID (Primary)
Employee Name
Email
ReportsToEmail
..... and other fields that aren't relevant
I need to be able to run a query that show ALL employees that report up to a
specific person. It is fairly easy to do a report that show who reports
directly to a specific person, but I need to find all employees that are in
that organization.
For example, if a company had the following hierarchy,
CEO
-VP1
--GM1
---controller
----asst controller
-----staff accountant
-----staff accountant
-vp2
--gm2
---director of marketing
etc
I want to find out who reports to the GM1 (Controller, Asst Controll, Staff
Acct1, Staff Acct2)
Any suggestions?
Thanks in advance
EmployeeID (Primary)
Employee Name
ReportsToEmail
..... and other fields that aren't relevant
I need to be able to run a query that show ALL employees that report up to a
specific person. It is fairly easy to do a report that show who reports
directly to a specific person, but I need to find all employees that are in
that organization.
For example, if a company had the following hierarchy,
CEO
-VP1
--GM1
---controller
----asst controller
-----staff accountant
-----staff accountant
-vp2
--gm2
---director of marketing
etc
I want to find out who reports to the GM1 (Controller, Asst Controll, Staff
Acct1, Staff Acct2)
Any suggestions?
Thanks in advance