Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to show group footer only on last group of each page.

Is there any way to accomplish this?

What I have tried:

Searched on the net but didn't find anything
Posted
Updated 14-Sep-23 9:15am
v4
Comments
[no name] 17-Aug-23 12:58pm    
The (every) "page" seems to be the "group" in this case.
YASH WAKTE 17-Aug-23 14:00pm    
No that's not the case

1 solution

Quote:
In Crystal Reports, you can achieve the goal of showing a group footer only on the last group of each page by using conditional formatting and suppression.

Here are the steps to accomplish this:
1. Create a Group
2. Insert a Group Footer
3. Conditionally Suppress the Group Footer
4. Write a Suppression Formula
In the formula editor, you will need to write a formula that evaluates to true when the group footer should be suppressed and false when it should be shown. You can use the PageNumber and TotalPageCount functions to determine if you're on the last page of the group.
For example, if your group is grouped by a field called "GroupField," your formula might look like this: PageNumber <> TotalPageCount
5. Save, Close and Preview your Report
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900