Page 1 of 1

compute totals in columns

Posted: Sat Nov 30, 2013 5:45 pm
by Jason Baird

I wondered if the was a method to compute the totals from a server service list query?

So the jist is...

Item1, Item2
1,2
3,4
6,7

Totals 10,13


compute totals in columns

Posted: Sat Nov 30, 2013 6:05 pm
by Igor

Hello,

You can save item values to array and count the sum for all values within an array.
This should help:
http://stackoverflow.com/questions/37...
https://developer.mozilla.org/en-US/d...


compute totals in columns

Posted: Sat Nov 30, 2013 6:53 pm
by Jason Baird

Thanks Igor, will check it out!