Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Summary of a Variable Post Reply Post New Topic
Author Message
Junebug
Newbie
Newbie


Joined: 02 Jun 2009
Online Status: Offline
Posts: 4
Quote Junebug Replybullet Topic: Summary of a Variable
    Posted: 28 Aug 2009 at 8:42am
I have a variable I created from the code below.  I need to summarize this field now for the group it is nested in group 1.  How can i do that?
 
Group 2 Varable
 
WhilePrintingRecords;

Global NumberVar MaxSTDHrs;
if  {@SumStdHrs} > MaxSTDHrs then
MaxSTDHrs := {@SumStdHrs};

if Sum ({@CY Tot Hrs}, {ProductivityTemp.EmpID}) >= (MaxStdHrs * .95) then
MaxStdHrs else Sum ({@CY Tot Hrs}, {ProductivityTemp.EmpID})

So for group 1 I need it to add this up.
Thanks for your help!
Junebug
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.023 seconds.