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.
Count datarows in subreport
-
- Posts: 43
- Joined: Fri May 25, 2007 2:54 am
- Location: Austria
Count datarows in subreport
You can zeroize the CountRow variable when the subreport2 is call(BeforePrintEvent for Subreport2)
Thank you.
Thank you.