Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: using a shared variable in a running total? Post Reply Post New Topic
Author Message
jbalbo
Senior Member
Senior Member
Avatar

Joined: 17 Feb 2011
Online Status: Offline
Posts: 219
Quote jbalbo Replybullet Topic: using a shared variable in a running total?
     Posted: 03 Aug 2012 at 6:28am
Hi,
 
I have a shared variable on a main report from a sub. I want to use the shared variable in running total put it is not given as an option.
 
Any Ideas?
 
Thanks
joe
 
IP IP Logged
Sastry
Moderator
Moderator
Avatar

Joined: 16 Jul 2012
Online Status: Offline
Posts: 537
Quote Sastry Replybullet Posted: 03 Aug 2012 at 8:22am
Hi
 
I think you are trying through Field Explorer --Running total, try to create a manual running totals like ;
 
Whileprintingrecords;
Numbervar x;
shared numbervar y;
x:=x+y;
 
This will allow you to add your shared variable value to a manual running total variable
Thanks,
Sastry
IP IP Logged
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