cSumRunning

Stimulsoft Reports.NET discussion
Post Reply
CharpByte
Posts: 2
Joined: Wed Jun 18, 2025 3:23 pm

cSumRunning

Post by CharpByte »

I'm creating an invoice that spans multiple pages, and I need to display the following on each page:

The total value for the current page;
The cumulative total up to the previous page.
Until now, I’ve been using these functions:

{cSumRunning(InvoicingBookingDetails.TotalValue)} → to calculate the total for the current page;
{cSumRunning(InvoicingBookingDetails.TotalValue) - cSum(InvoicingBookingDetails.TotalValue)} → to get the total up to the previous page.
However, since updating to version 2025.2.5, I’m getting unexpected results.

As shown in the attached image, the total displayed for page 1 is actually the value from page 2, which is incorrect.

Has anyone else experienced this issue or found a reliable workaround?
Attachments
Exemple
Exemple
Captura de ecrã 2025-06-18 163632.jpg (213.86 KiB) Viewed 133 times
Lech Kulikowski
Posts: 7284
Joined: Tue Mar 20, 2018 5:34 am

Re: cSumRunning

Post by Lech Kulikowski »

Hello,

Please see the sample report in the attachment.

Thank you.
Attachments
cCount and sum of previous pages.mrt
(783.61 KiB) Downloaded 12 times
CharpByte
Posts: 2
Joined: Wed Jun 18, 2025 3:23 pm

Re: cSumRunning

Post by CharpByte »

Fantastic!!! Worked like a charm
Lech Kulikowski
Posts: 7284
Joined: Tue Mar 20, 2018 5:34 am

Re: cSumRunning

Post by Lech Kulikowski »

Hello,

You are welcome.
Post Reply