Page 1 of 1

URGENT: Problem with Sum()

Posted: Fri Jun 20, 2014 9:16 am
by PJoyeux
Hi,

I have a report with 3 pages. On the first page I need some values that are calculated using Sum() in Page 2 and Page 3.

On Page 1 I have a textfield with the following content:

Code: Select all

{SumRunning(DataBand1, BusCardAbrechnung.VerdienstEC + BusCardAbrechnung.VerdienstWC) + SumRunning(DataBand2, ReisenAbrechnung.Verdienst)}
But the result is not the addition of both but just the value of the first Sum(). In this screenshot I have three textfields. The first one has the above code.
The second one:

Code: Select all

{SumRunning(DataBand1, BusCardAbrechnung.VerdienstEC + BusCardAbrechnung.VerdienstWC)}
The third one:

Code: Select all

SumRunning(DataBand2, ReisenAbrechnung.Verdienst)}
Bild 4.png
Bild 4.png (12.62 KiB) Viewed 1963 times
Why is only the first SumRunning() taken into account in the formula of the first Textfield???

Unfortunately this extremely urgent this time... :-( I have added the report.

Please show me the correct way to do this if it is not a bug...

THANKS!

Cheers,
Pascal

Re: URGENT: Problem with Sum()

Posted: Fri Jun 20, 2014 9:35 am
by PJoyeux
Ok, problem solved!

Using "Total.Sum()" instead of "SumRunning()" was the solution!

Thanks to the Support-Team for this VERY QUICK support! 8-)

Re: URGENT: Problem with Sum()

Posted: Sun Jun 22, 2014 1:45 pm
by Andrew
;) It's always a pleasure to help you!