How to display Total in Form Application in Multiple Records mode

Hi Anyone knows how to display total in the forms application which is in Multiple Records mode?

Thanks in advance

If you are in a master-detail situation just put total fields on master and set thru sc_master_value macro

Hi. Create a global variable in the form (type out), place it in the footer of the form and when you save the records recalculate the value.

Thank you. I am aware of this. But what about the alignments? I may have more than one field. That was the issue

Pleaes take a look at my situation here and any workaround will be highly appreciated.