Problem with sum function
Posted: Tue May 06, 2014 8:47 am
Hi,
I've got a problem with sum function for a field inside a page. In my scenario I set the DataBand property CanBreak to true, in order to eventually split the DataBand in more than a page. But I have a case (see the example) in which the sum is not correct because the second field to sum is inside my first page and its DataBand finishes in the second page, so the field is not considered in the sum calculation of the first page but it is included in the sum calculation of the second page.
There is a way to calculate the sum of two field in a page even if the DataBand of the second record finishes in the second page?
I attach a report with data as an example.
Thank you
Fabio Magnani
I've got a problem with sum function for a field inside a page. In my scenario I set the DataBand property CanBreak to true, in order to eventually split the DataBand in more than a page. But I have a case (see the example) in which the sum is not correct because the second field to sum is inside my first page and its DataBand finishes in the second page, so the field is not considered in the sum calculation of the first page but it is included in the sum calculation of the second page.
There is a way to calculate the sum of two field in a page even if the DataBand of the second record finishes in the second page?
I attach a report with data as an example.
Thank you
Fabio Magnani