You can place the code in the Calculate event of the control (where Sum Total needs to be displayed)
In the below example, Cell2 in Row5 is the Total Field. I am summing up Cell2 field in each row and assigning the value to the Cell2 field in Row5..
form1.page1.Table1.Row5.Cell2.rawValue = form1.page1.Table1.Row1.Cell2.rawValue +
form1.page1.Table1.Row2.Cell2.rawValue +
form1.page1.Table1.Row3.Cell2.rawValue +
form1.page1.Table1.Row4.Cell2.rawValue;
Thanks
Srini