Add sum to form from numeric fields on other forms

Add sum to form from numeric fields on other forms

Hi.

I have a form called "Properties" where I add info about work sites. I have a second form called "Building Section" related to the "Properties" form by a lookup based on the property name. 

For each property there are several build section records. On the building section records I have a currency field for annual repair budgets for each section.

What I want to do is to add a currency filed to the "Properties" form and show a total repair budget based on the total sum from all building sections.

Can you show me a sample code?

Thanks!!

Arlan