I'm using these two formula's to obtain a total in the footer. Which works fine. I need to also have a Group total for each @sharedlaborcost Grouping.
whileprintingrecords;
shared numbervar x:= {@sharedlaborcosts};
numbervar sumx := sumx + x;
whileprintingrecords;
numbervar sumx;
whileprintingrecords;
shared numbervar x:= {@sharedlaborcosts};
numbervar sumx := sumx + x;
whileprintingrecords;
numbervar sumx;