Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Count if Function in crystal? Post Reply Post New Topic
<< Prev Page  of 2
Author Message
althomas
Newbie
Newbie


Joined: 09 Nov 2010
Online Status: Offline
Posts: 36
Quote althomas Replybullet Posted: 21 Feb 2011 at 9:54am
i think i was able to figure it out!!!!!!
 
in the Main Report: 
 Created a formula as :
    Whileprintingrecords;
     Shared NumberVar TotalPrice := sum(MainReportField.TotalPrice)
 
in the subReport:
 Created a formula as :
  Whileprintingrecords;
 Shared NumberVar TotalPrice1 := sum(Subreportfield.TotalPrice)
 
In the Main Report:
created another formula:
WhilePrintingRecords;
Shared NumberVar TotalPrice;
Share Number var Totalprice1;
NumberVar GrandTotal;
GrandTotal := TotalPrice + TotalPrice1;
GrandTotal
 
Dropped it in the footer and both the main and sub report added up.
IP IP Logged
<< Prev Page  of 2
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.031 seconds.