I'm using CR XI with MS SQL 2000
I've got a table in a database that lists possible rights that a group of users can have. The rights have a hierarchy--up to 6 layers deep.
Top Level Policy
Sub-Policy Layer1
Sub-Policy Layer1
Layer2
Layer3
Layer2
Layer3
Layer4
Layer5
Layer2
The tbPolicies table contains:
PolicyID
PolicyName
PolicyAlias
ParentAlias
Here is where it gets hard to describe:
* The TOP layer policies have a value in PolicyAlias but NULL ParentAlias.
* The other policies have an entry in ParentAlias that matches the PolicyAlias entry of the parent policy.
* The policies also have an entry in the PolicyAlias that MAY be a parent category to other policies (if there I a layer below).
I’d like to be able to build a report that shows these in hierarchical order. Is there any way to do this using groups?
I can post an example of the table values if it will help.
I've got a table in a database that lists possible rights that a group of users can have. The rights have a hierarchy--up to 6 layers deep.
Top Level Policy
Sub-Policy Layer1
Sub-Policy Layer1
Layer2
Layer3
Layer2
Layer3
Layer4
Layer5
Layer2
The tbPolicies table contains:
PolicyID
PolicyName
PolicyAlias
ParentAlias
Here is where it gets hard to describe:
* The TOP layer policies have a value in PolicyAlias but NULL ParentAlias.
* The other policies have an entry in ParentAlias that matches the PolicyAlias entry of the parent policy.
* The policies also have an entry in the PolicyAlias that MAY be a parent category to other policies (if there I a layer below).
I’d like to be able to build a report that shows these in hierarchical order. Is there any way to do this using groups?
I can post an example of the table values if it will help.