Tips and Tricks
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Tips and Tricks
Message Icon Topic: How to print the record in group footer? Post Reply Post New Topic
Author Message
sathisherp
Newbie
Newbie
Avatar

Joined: 16 Jan 2009
Location: India
Online Status: Offline
Posts: 7
Quote sathisherp Replybullet Topic: How to print the record in group footer?
    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
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet 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
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.033 seconds.