I originally asked this question here:
But I think I got a little ahead of myself. My real problem is keeping track of Running Balance data in a useful way. For reference here is my app:
Email:
demo@example.com
Password:
temppass
I have created a thing called a Transaction with the following fields:
I created a RG to list all Transactions for the Current Pages Account using input elements:
The Initial Content of the last input in the RG shows the Running Balance of all Transactions up to the Current Cells Index:
When I preview the page, the running balance is displayed correctly:
But I can’t get the Running Balance to save properly in the Balance Field of the Transaction in the database. Here’s the workflow that I have created:
The Amount field updates correctly, but the Balance field stores the data that is shown in the input before the update:
Also only the current transaction Balance field is updated. How can I update the Transaction Balance for all transactions after updating a single Transaction’s Amount?
In the end I would like to have Running Balance that could be plotted on a graph.