Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Total in footer Post Reply Post New Topic
Author Message
Hossam
Newbie
Newbie
Avatar

Joined: 31 Mar 2009
Location: Egypt
Online Status: Offline
Posts: 23
Quote Hossam Replybullet Topic: Total in footer
     Posted: 01 Apr 2009 at 2:55am
hi all ,
 
i insert summery for column in footer but when i filter the total still based on all data , and what i need total for only current rows in report
 
sample
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 01 Apr 2009 at 6:28am
if data is suppressed, the aggregate functions of Crystal don't report correctly.  The way that I get around this to use shared variables and create my own aggregates.  Maybe there is an easier way, but I don't know it.
 
For this method, you need to create a method in the group header that sets your variables to 0, then in the detail section you need to add the values that are not skipped to the variables, and finally where you want the total displayed, you need a formula to report the value of your shared variables.
 
There are lots of posts on how to do this.
 
Hope this helps/fits yours situation.
IP IP Logged
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