group header:
shared numbervar gTotal :=0;
""//to hide the result
details
shared numbervar gTotal := gTotal + round({table.field},2);
round({table.field},2) //displays the rounded value for the report
group footer
shared numbervar gTotal
If needed addition varibles can be updated in any/all of the formulas. I frequently in the group footer formula do something like:
shared numbervar gTotal;
shared numbervar gTotal1:=gTotal1 + gTotal;
gTotal
this will increment the next level of variables.
HTH