Discussion:
Getting calculated value from a report sum control
(too old to reply)
Jonas
2010-09-10 10:46:29 UTC
Permalink
Hi

I have a report with a footer that contains two sum controls.
I would like to add another control that displays a percentage value based
on these two sums.
Is it possible to retreive the calculated value from these two sum controls
and use these values in a display method that calculates the percentage
field, or would I have to sum the values manually in the fetch method?

/Jonas
Jonas
2010-09-10 11:22:16 UTC
Permalink
Found it.

element.sum()/element.sumControl() gave me just what I needed.

/Jonas
Post by Jonas
Hi
I have a report with a footer that contains two sum controls.
I would like to add another control that displays a percentage value based
on these two sums.
Is it possible to retreive the calculated value from these two sum
controls and use these values in a display method that calculates the
percentage field, or would I have to sum the values manually in the fetch
method?
/Jonas
Loading...