Count datarows in subreport
Posted: Tue Nov 13, 2007 3:04 am
Regarding my original problem with counting datarows: I now have a new report structure:
I´ve got a mainpage where I a place a subreport (subreport1) ten times on one page (two columns, five rows)
Into subreport1 I´d like to place another subreport (subreport2) with the hierarchical band where I have to count datarows.
The number of datarows in subreport2 again determines the height of subreport2 in subreport1.
The problem now is, that subreport2 is called ten times (plus some more counts !?) and so the number of rows is counting up wrong.
Isn´t there an easier way to get the number of rows of the hierarchical band?
I would be happy if I just could get the number of datarows in one of my datatables.
I´ve got a mainpage where I a place a subreport (subreport1) ten times on one page (two columns, five rows)
Into subreport1 I´d like to place another subreport (subreport2) with the hierarchical band where I have to count datarows.
The number of datarows in subreport2 again determines the height of subreport2 in subreport1.
The problem now is, that subreport2 is called ten times (plus some more counts !?) and so the number of rows is counting up wrong.
Isn´t there an easier way to get the number of rows of the hierarchical band?
I would be happy if I just could get the number of datarows in one of my datatables.