Print Page | Close Window

Count in Group Footer Showiing in Group Header

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2022
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=23059
Printed Date: 03 Apr 2025 at 6:41pm


Topic: Count in Group Footer Showiing in Group Header
Posted By: jman1018
Subject: Count in Group Footer Showiing in Group Header
Date Posted: 21 Feb 2025 at 4:37am
Hello All,

I have a Running Total Field that shows the count in the Group footer. How do I get that count to show in the Group Header? I want to hide the Details in the report and just show the Group Header. I have tried WhilePrintingRecords, but it shows that count in the next Group.

Example;

GroupHeader-xyz-customer (Count=3)
   Detail-Job123
   Detail-Job124
   Detail-job125
   GroupFooter-(Count=3)

Hope this makes sense.




Replies:
Posted By: jman1018
Date Posted: 21 Feb 2025 at 6:10am
Hello All,

I found the answer in another post. I used the formula;
sum({table.field_to_summarize, {table.field_you_are_grouping_on}) and it worked.

Thanks.



Print Page | Close Window