Running total calculated wrong

Stimulsoft Reports.WEB discussion
Post Reply
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Running total calculated wrong

Post by wilfredkruijsbergen »

In my report I have created a running total per page with cSumRunning(). Sometimes the running total is calculated wrong. Not only the amounts of page 1 is summed, but also the first amount of page 2 is summed.

Example of first page:

RunningTotal1.png
RunningTotal1.png (25.48 KiB) Viewed 703 times
I expect a running total of 2.250, but instead 2.360 is printed.

See attachment with sample report.

Can I fix this?
Attachments
Running_Total_Wrong.mrt
(253.89 KiB) Downloaded 90 times
Kind regards,

Wilfred
Max Shamanov
Posts: 792
Joined: Tue Sep 07, 2021 10:11 am

Re: Running total calculated wrong

Post by Max Shamanov »

Hello,

Please change the Can Breake property from true to false for the databand Data_Offerteregel.

Thanks.
Attachments
dgbGXxt7VQ.png
dgbGXxt7VQ.png (204.98 KiB) Viewed 694 times
wilfredkruijsbergen
Posts: 9
Joined: Wed Feb 03, 2021 9:31 am
Location: Amersfoort

Re: Running total calculated wrong

Post by wilfredkruijsbergen »

Thanks, that was the solution!
Kind regards,

Wilfred
Lech Kulikowski
Posts: 6271
Joined: Tue Mar 20, 2018 5:34 am

Re: Running total calculated wrong

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply