Advertisement

07.23.2008 at 08:49AM PDT, ID: 23588943
[x]
Attachment Details

How to create running total based on group summary?

Asked by qinyan in Crystal Reports Software

I was trying to create a running total based on group summary using the following formula but the result is the same as the group summary itself. So where is the problem with the formula? Thanks!

WhilePrintingRecords;
global numbervar disp_total := 0;

whileprintingrecords;
global numbervar disp_total := disp_total + {table.groupfield};
Start Free Trial
[+][-]07.23.2008 at 09:12AM PDT, ID: 22070798

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 11:00AM PDT, ID: 22072015

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.23.2008 at 11:11AM PDT, ID: 22072136

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Crystal Reports Software
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628