I am using the PHP Code Type in getting the Cummulative sum of the records. But the field is showing 'blank'
this is the query that I am using:
$initialVal = 0;
$currentValue = $initialVal + ([1350]);
$previousSum = ([1350]);
$cumulativeSum = $previousSum + $currentValue;
$cumulativeSum;
and here is what's showing in the debug mode:
Field_1966 is the PHP Code field Im trying to work on and [1350] is the field im getting the value in.
Am I missing something? PLease help.
THanks!
PHP Code
- support
- Site Admin
- Posts: 6222
- Joined: 19 Oct 2014, 18:22
- Name: Sergey Kharchishin
- Location: Russia, Evpatoriya
Re: PHP Code
See documentation https://docs.rukovoditel.net/index.php?p=104
Re: PHP Code
Thank you Sergey. I will try this.