Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9245

Re: How to Sum DistinctCount Field in Page Footer?

$
0
0

hey Eric,

 

that's no problem to use your existing formula that does the hard work. you just need to tweak it a bit.

 

just change your existing formula to the following. the numbervar that you already have is going to be needed for the group totalling and display. the second numbervar will be used for the report footer display...it will never be reset.

 

Whileprintingrecords;

          numbervar cnt;

  numbervar cnt2;

          if (@BO?) =1 then (cnt: =cnt+1; cnt2:= cnt2+1);

 

now create a new display formula with this syntax to put on your report footer. then you'll have both group displays and a report level display.

 

Whileprintingrecords;

numbervar cnt2;

 

cheers,

jamie


Viewing all articles
Browse latest Browse all 9245

Trending Articles



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