J
James
Thanks for all the help so far! To recap--I'm trying to
build a database giving the organizational level of
employees. A report would have to be generated that lists
the employees starting from CEO and then indented
(or "tabbed") for each subsequent level. For example:
Company1
PersonA - Chief Executive Officer
PersonE - President of Finance
PersonJ - Treasurer
PersonF - Senior Accountant
PersonZ- Junior Accountant
PersonB - Payroll
PersonD - MailRoom Guy
PersonX - President of Marketing
PersonK - Marketing Manager
PersonG - Magazine Editor
PersonZ- Adds Salesman
PersonB - Graphic Designer
And so on...
So far, I have three tables: person table, company table,
and position level table. in the person table, each person
has a field that identifies who he/she directly reports to
as well as a LevelId that corresponds to the PK in the
Position Level table. BUT... still I'm looking for help in
understanding how one might generate a report like
described above. Do I need to make a query that will list
in proper level order all the members of the company? Or
would I do multiple queries every time I encounter a
person with subordinates? confused... - James
build a database giving the organizational level of
employees. A report would have to be generated that lists
the employees starting from CEO and then indented
(or "tabbed") for each subsequent level. For example:
Company1
PersonA - Chief Executive Officer
PersonE - President of Finance
PersonJ - Treasurer
PersonF - Senior Accountant
PersonZ- Junior Accountant
PersonB - Payroll
PersonD - MailRoom Guy
PersonX - President of Marketing
PersonK - Marketing Manager
PersonG - Magazine Editor
PersonZ- Adds Salesman
PersonB - Graphic Designer
And so on...
So far, I have three tables: person table, company table,
and position level table. in the person table, each person
has a field that identifies who he/she directly reports to
as well as a LevelId that corresponds to the PK in the
Position Level table. BUT... still I'm looking for help in
understanding how one might generate a report like
described above. Do I need to make a query that will list
in proper level order all the members of the company? Or
would I do multiple queries every time I encounter a
person with subordinates? confused... - James