Cumulative Sum |
3/8/2009 10:27:09 AM |
PHPRunner General questions | |
B
bozzo author
I need to do a cumulative sum, with the last column updated record-by-record, in a report. +-------+----+---------+
|
|
![]() |
Sergey Kornilov admin 3/8/2009 |
Yuri,
|
B
|
bozzo author 3/8/2009 |
Sergey, thank you very much... Yuri, this should be pretty straightforward.
|
![]() |
Sergey Kornilov admin 3/9/2009 |
You can do this using one of events like BeforeRecordProcessed where you have access to all fields. You'll need to save group field value in session variable as well and reset sum once group field value changes. |