Hi
I presume that Category is
your first group and within you have some groups and would like to count / sum
the groups within category.
Create the following running
total formulas to arrive this.
Formula1 // Place this formula on your category group
header
Whileprintingrecords;
Numbervar x:=0;
Formula2 // place this formula on your second group
i.e. within category group
Whileprintingrecords;
Numbervar x:=x+1
Formula3 //Place this formula on your category group
footer
Whileprintingrecords;
Numbervar x;
This will resolve your issue.