I am trying to sum grouped values to no avail. I've searched the threads for the answer, but I am missing something. Please advise.
Group 2 Header:
whileprintingrecords;
numbervar G4Total;
if not inrepeatedgroupheader then
G4Total := 0;
Group 4 Footer:
numbervar G4Total;
numbervar G4Total := {@f_PresRd_kWhT}+{@f_G3Footer}
Group 2 Footer:
whileprintingrecords;
numbervar G4Total;
G4Total
I keep getting the value in the Group 4 Footer in the Group 2 Footer. I want to sum each value that is in the Group 4 footer in the Group 2 Footer.
Please advise what i am missing.
Thanks,
Mark
Group 2 Header:
whileprintingrecords;
numbervar G4Total;
if not inrepeatedgroupheader then
G4Total := 0;
Group 4 Footer:
numbervar G4Total;
numbervar G4Total := {@f_PresRd_kWhT}+{@f_G3Footer}
Group 2 Footer:
whileprintingrecords;
numbervar G4Total;
G4Total
I keep getting the value in the Group 4 Footer in the Group 2 Footer. I want to sum each value that is in the Group 4 footer in the Group 2 Footer.
Please advise what i am missing.
Thanks,
Mark