Page 1 of 1

cSumRunning

Posted: Wed Jun 18, 2025 4:08 pm
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?

Re: cSumRunning

Posted: Thu Jun 19, 2025 8:20 am
by Lech Kulikowski
Hello,

Please see the sample report in the attachment.

Thank you.

Re: cSumRunning

Posted: Fri Jun 20, 2025 10:19 am
by CharpByte
Fantastic!!! Worked like a charm

Re: cSumRunning

Posted: Fri Jun 20, 2025 1:49 pm
by Lech Kulikowski
Hello,

You are welcome.