What do you mean by "ENTIRE group"? It seems like you should be getting the average for each group. Do you mean an average for the entire report (all groups combined)? If so, and if you don't need the average for each group, try moving the formula that's in the group header (which sets the variables to 0) to the report header (or just remove the formula from the group header, if you already have a similar formula in the report header).

As for not displaying the details and footer, I don't think that should have any effect on the formulas in the main report. I don't think suppressing a section has anything to do with WhilePrintingRecords.

However, if you suppress the section that a subreport is in, the subreport won't be run. Maybe that's your problem. If so:
Suppress every section in the subreport, so that it doesn't produce any output.
Right-click on the subreport, select "Format Subreport" and on the Subreport tab, check the "Suppress Blank Subreport" option.
Make sure that anything else that's in the same section as the subreport is suppressed.
Go to the Section Expert for the section that the subreport is in and check the "Suppress Blank Section" option.

That way, the subreport will be run and will set your variables, but it won't produce any output, so the subreport will be suppressed, so the section will be suppressed.

Yes, moving the formulas from one footer to the other get me ALL THE TIME.. I worked that part out.. However, thank you VERY much for the information about suppressing the SR.. When I was suppressing the entire section, you're right, the SR was not running thus no details. So doing it in the order of events above did the trick.. Much thanks!!

I hate sub reports and always consider them the last resort in any reporting solution. The negative effect on performance and maintainability is just not worth the easy ride they give the report writer. Nine times out of ten reporting requirements…

Hello everyone,
Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8.
We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…

In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…