Displaying a Tree Structure in Crystal Reports

后端 未结 1 1878
不思量自难忘°
不思量自难忘° 2021-01-16 17:27

Does anyone know of a way to represent a tree structure in Crystal Reports? My big issue is that I don\'t know the depth of the tree. It is represented in

相关标签:
1条回答
  • 2021-01-16 18:01

    Crystal XI added hierarchical grouping. You'll find this under the Reports menu. I put together a quick org chart report with n-level depth using this. The database table is like: id name managerId

    In the Crystal Report, you select these columns, group by id. Then under "Hierarchical Grouping options" menu under Reports, check off "Group Data Hierarchically", parent Id managerId, and indent appropriately.

    The output is like the tree you described in Explorer.

    0 讨论(0)
提交回复
热议问题