Quantcast
Channel: SCN : Unanswered Discussions - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 2556

Group Footer Formula

$
0
0

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


Viewing all articles
Browse latest Browse all 2556

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>