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

Re: Group Totals in the Footer

$
0
0

hi Ven G,

 

here are some options:

 

a) Insert a Cross-tab at the report footer where the same field that you used for your group is a Row and insert the same fields that you used as summaries as the Summary. in the cross-tab expert you can later get rid of lines, cell spacing, etc.  this method's the easiest.

 

b) second easiest is to insert a subreport to place on the report footer. reuse your existing report when you choose Insert > Subreport > Use Existing. suppress all sections in the subreport except for your group section that contains the summaries.

 

c) least easiest is to create a set of string running totals...

 

e.g. new formula...

 

whileprintingrecords;

stringvar g:= g + {your group field} + chr(10)

 

place that on your group section and suppress the formula

 

now create another formula like...

 

whileprintingrecords;

stringvar g;

 

and place this in the report footer and format the field so that Can Grow is checked.

 

now create a formula for your values

 

whileprintingrecords;

stringvar v1:= v1 + totext({your summary field}) + chr(10)

 

place this formula on your group section and suppress the formula

 

now create another formula to put in your report footer right beside the other one

 

whileprintingrecords;

stringvar v1

 

 

cheers,

jamie


Viewing all articles
Browse latest Browse all 10498

Trending Articles



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