Do these total fields use summary fields from the line items?
If so, you may want to use an OnObject Save trigger on the editable fields that affect this total to perform this script:
The other option is to change your subtotal and total calculations to use the Sum function to compute the total from your line items in place of the summary fields from LineItems. This does note require the scripted window refresh and you won't get a "window flash" like you do with the above script. This is not an option to use, however, if the portal is filtered using FileMaker 11's portal filter feature.
Beautiful - thanks
The Sum function saved me on this.