I have a table with a structure that can be simplified to:
Resource ID Autonumber
Name, etc Multiple fields
Manager ID Number (long)
The manager ID is a link to another record in the same table. That person may also have a manager and so on.
I want to write a report that will display, for a given manager, their entire organization. Grouped by manager.
For instance -
VP
Director
Manager
Worker
Worker
Manager
Worker
Director
Manager
Worker
Worker
Manager
Worker
Worker
Worker
There may in fact be many layers.
The most intuitive solution is some sort of recursive subreport structure, but Access doesn't allow a report to have itself as a subreport.
I can do a subreport for each layer, but since they'll be identical, that seems a waste and a pain to modify later. There must be a slick solution here.
Any help?
Thanks in advance,
Jonathan
Jonathan
________________________________________
It is not fair to ask of others what you are unwilling to do yourself.
-Eleanor Roosevelt
Resource ID Autonumber
Name, etc Multiple fields
Manager ID Number (long)
The manager ID is a link to another record in the same table. That person may also have a manager and so on.
I want to write a report that will display, for a given manager, their entire organization. Grouped by manager.
For instance -
VP
Director
Manager
Worker
Worker
Manager
Worker
Director
Manager
Worker
Worker
Manager
Worker
Worker
Worker
There may in fact be many layers.
The most intuitive solution is some sort of recursive subreport structure, but Access doesn't allow a report to have itself as a subreport.
I can do a subreport for each layer, but since they'll be identical, that seems a waste and a pain to modify later. There must be a slick solution here.
Any help?
Thanks in advance,
Jonathan
Jonathan
________________________________________
It is not fair to ask of others what you are unwilling to do yourself.
-Eleanor Roosevelt