Print Page | Close Window

How to print the record in group footer?

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Tips and Tricks
Forum Discription: Have you learned some great tricks to share with the group? Post them here!
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=7388
Printed Date: 27 Apr 2024 at 6:36pm


Topic: How to print the record in group footer?
Posted By: sathisherp
Subject: How to print the record in group footer?
Date Posted: 16 Aug 2009 at 2:07am
Hi experts,
Am doing grouping  in my report...i want to print one specific record  from group in the group footer based on some condition ...how to do this?
 
 
Ex:
     group_name   col1   col2   col3
         abc              4       6       8
         abc              4       7       3
         abc              4       0       3
here the col2 having the 7 as hieghest number that i want to prin in group footer...
 
 
        


-------------
Sat



Replies:
Posted By: hilfy
Date Posted: 16 Aug 2009 at 10:30am
Try this:
 
1.  Sort on column 2 inside your group.
 
2.  Put a suppression formual on the details section where the rest of your data displays.  It will look something like this:
 
NextIsNull({table.group_name}) or {table.group_name} <> next({table.group_name})
 
This will keep the last record in the group from showing up in the details so that you can put it in the group footer.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window