Add a sum field in form


   I just Created a form which shows customer Invoice related data i just also filter of two field (fromdate,toDate)

 when i filter the form it and click on a button it should display sum of Invoice Amount of all the current records

 in a grid so what i need to do pls advice to me for that i also sharing the screen shot of my form.

Version AX2012R3