Number of children in Hierarchical Band

Stimulsoft Reports.NET discussion
Post Reply
ajcervera
Posts: 15
Joined: Fri May 28, 2010 3:59 am

Number of children in Hierarchical Band

Post by ajcervera »

Hello Team,

I have a report with a herarchical band in order to represent something like this:

- Father1
---- Child 1
---- Child 2
---- Child 3
- Father2
---- Child 1
---- Child 2

And I would like to ask you about how to get the total number of children for each father before print the databand content in order to display something like this:

- Father1 (3 children)
---- Child 1
---- Child 2
---- Child 3
- Father2 (2 children)
---- Child 1
---- Child 2

Thank you in advance.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Number of children in Hierarchical Band

Post by Alex K. »

Hello,

Please try to use the Count() function.
Please see the sample report http://web.stimulsoft.com/View/Reports/TreeWithTotals

Thank you.
Post Reply