Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Help needed Running Total Post Reply Post New Topic
Author Message
Wim Rippen
Newbie
Newbie


Joined: 15 Jun 2010
Location: Netherlands
Online Status: Offline
Posts: 19
Quote Wim Rippen Replybullet Topic: Help needed Running Total
    Posted: 15 Jun 2010 at 8:23pm
I have a report in CR dev. with ACT2010Prem.database.Works fine
 
I have GroupHeader Contact.Company.
 
In DETAIL
 First  subreports Product 1 where @CFR represents a value
 (say 1000)
Second subreport Product 2 where @CFR represents an other value
(say 2000)
 
I see running the report : 1000
and                                    2000
 
 
Now I want a formula/runn total  to have in ( footer ) the result 3000
Which formula's and where to put them. ???
 
Thanks to everybody helping me !
William
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 16 Jun 2010 at 4:07am
I would use shared variables...In the same section as the subreport is running, I would increment the variable by the amount that the subreport is displaying, then in the group footer, I would display the variables value, and in the group header would set it to 0.
 
It's a manual way of doing a running total, but for some reason, running totals don't make sense to me.
 
HTH
IP IP Logged
Wim Rippen
Newbie
Newbie


Joined: 15 Jun 2010
Location: Netherlands
Online Status: Offline
Posts: 19
Quote Wim Rippen Replybullet Posted: 16 Jun 2010 at 7:29am
I appreciate your comments,but I am just a beginner,so please be
more specfic
what shared fields ( Like WhilePrintingRecords,sharedVar XXX; ???)
how to add them  ( XXX-1,+ XXX2 ???) or simlar
where to place
I have in ONE detail part, T W O sections : Prod1 and Prod2
In Prod 1 value 1000
In prod 2 value 2000  ( as examples)
 
how to get the result 3000 ?? where to put the formulas.
THANKS!!!
William
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.063 seconds.