How to use values from subform for calculation

How to use values from subform for calculation

Hi there,

I am developing a form which contains a sub-form.
The sub-form contains a numeric field.
I am trying to sum the numeric values from all sub-records and present the result in the header (the main form).

Please advise!

Thanks,
TLV