Hi,
I have a report that captures the First (in Group Header) and Last (in Group Footer) records of grouped data. This follows on from a previous question that I posted.
I have created a variable in the Group Header section as follows;
whileprintingrecords;
global numbervar s;
s :={DataTableScores.Handicap};
and a Group Footer Variable;
whileprintingrecords;
global numbervar e;
e :={DataTableScores.Handicap};
I can get the difference between them using the following Group Footer formula;
whileprintingrecords;
global numbervar s;
s;
global numbervar e;
e;
numbervar i;
i := (s-e);
but I want to divide that result by the number of items in the group. Can someone point me in the right direction please.
TIA,
John