Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Running totals sum in Report Footer Post Reply Post New Topic
<< Prev Page  of 2
Author Message
achandana01
Groupie
Groupie
Avatar

Joined: 20 Jul 2011
Online Status: Offline
Posts: 59
Quote achandana01 Replybullet Posted: 03 Dec 2011 at 11:34am
Hi Lockwell,
 
I used the formula in my report
 
shared numbervar LA;
shared numbervar xx;
 
local numbervar dc:=distinctcount({table.field}, {group});
if city = "LA" then LA := LA + dc
else if city = "XX" then xx := xx + dc
  else...
dc
 
I used the following to display summary at group level
 
shared numbervar LA;
LA
 
but for some reasons it is giving me a 0 I belive it is not taking any value from the if clause which we used to get the count.
 
Thank you for your help lockwell I really appreciate it.
 
 


Edited by achandana01 - 03 Dec 2011 at 1:45pm
chand
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.016 seconds.