Recalculate every row in the subform

Recalculate every row in the subform

Hello,

Can anyone help me with a script, please?
I have an issue. Sometimes it happens, that in a multi row subform one of the rows show an incorrect row total value.
Not really understand how it can happen, if I have a 20 row subform, 19 rows show correct row total value and one row doesn't. If it happens I'd like to use a so called "action button" on the form which should recalculate each and every row total in the subform on user input, and obviously the total field on the form, instead of checking manually each row.
Or a better tip maybe?

Kind regards
George