values depending on the previous row
Posted: Wed Mar 18, 2015 2:11 pm
I have a problem with StimulSoft:
I read the data from a database table; the debet and credit values. I want for each row compute the saldo. This depends on the saldo of the previous row, and the new debet and credit values:
saldo = saldo(previous row) + debet – credit;
Or : saldo = Sum(debet values until now) – sum (credit values until now)
How do I do this ?
Best Regards,
Willem Wijnant
I read the data from a database table; the debet and credit values. I want for each row compute the saldo. This depends on the saldo of the previous row, and the new debet and credit values:
saldo = saldo(previous row) + debet – credit;
Or : saldo = Sum(debet values until now) – sum (credit values until now)
How do I do this ?
Best Regards,
Willem Wijnant