Please try the code from the example from the post below and let me know if the problem persists. This code is more suitable for calculating totals if editing of List or Library control is inline, as it does calculation periodically, not on change.
Please try the code from the example from the post below and let me know if the problem persists. This code is more suitable for calculating totals if editing of List or Library control is inline, as it does calculation periodically, not on change.