Page 1 of 1

Stimulsoft summation ERROR

Posted: Wed Dec 16, 2015 5:08 am
by Milton Guevara
It was detected in the following problem:
There is a report that, due to the number of items is generated on two pages. However, the sum of the sample weights incorrectly because it includes the weight of the first item on the next page.
The sum is being made in the PageFooterBand.

Re: Stimulsoft summation ERROR

Posted: Wed Dec 16, 2015 3:18 pm
by muriloruiz
Hi,

I'm with the same problem, your resolved?

Re: Stimulsoft summation ERROR

Posted: Wed Dec 16, 2015 6:51 pm
by Ivan
Hello,

In certain cases the sum by the page can be calculated incorrectly.
In this case instead of expression, for example

Code: Select all

{ cSum(dataSource, expression) }
please use the following expression (with Totals prefix) :

Code: Select all

{ Totals.cSum(dataSource, expression) }
This method calculates the sum a little slower, but without errors (in report postprocess stage).

Thank you.

Re: Stimulsoft summation ERROR

Posted: Mon Dec 21, 2015 10:36 pm
by Milton Guevara
Ivan, ok, solved it.
Thank you for your support

Re: Stimulsoft summation ERROR

Posted: Tue Dec 22, 2015 5:39 am
by Alex K.
Hello,

We are always glad to help you!
Also we will try to make some improvements in that direction. It will be work without Totals also. Will be available within one or two weeks.

Thank you.