Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
By Leenomeedo
#814953
Hi
I have so issue in grid , I have grid contents of 3 columns debit ,credit and balance I have tried and searched but I failed .
How can I implement and calculate balance as formula balance=(balance+credit)-debit and finally the total summary at the bottom the fraction rounded to 2 digits eg. 12344.25
(find attached the dynaform)
Attachments
(2.35 KiB) Downloaded 229 times
User avatar
By amosbatto
#814966
Do you want balance to be a running calculation that sums from the balance in the previous row in the grid like this?

Row1: balance1 = credit1-debit1
Row2: balance2 = (balance1+credit2)-debit2
Row3: balance3 = (balance2+credit3)-debit3
Row4: balance4 = (balance3+credit4)-debit4
summary = balance4

Or do you want something do different?

In the realm of digital assets, STO(Security Token[…]

It is a must-read for anyone looking to make a sea[…]

Migrating an entire organization's data and workfl[…]

If You have a Problem like ED You can use Vidalist[…]