Report Design
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Report Design
Message Icon Topic: Shared Variables Post Reply Post New Topic
Author Message
Piet
Newbie
Newbie


Joined: 20 Jul 2009
Location: South Africa
Online Status: Offline
Posts: 1
Quote Piet Replybullet Topic: Shared Variables
    Posted: 20 Jul 2009 at 2:28am
Hi  we need some Info on how to put Shared Variables in a report with sub reports in sub reports in Crystal? How do we go about it?
Thanks for the help!
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 21 Jul 2009 at 6:27am
can't put subreports in subreports.  Crystal only goes down 1 level.  Main->subreport.  You can have multiple subreports in a main, but a subreport cannot contain a subreport.
 
shared variables are easy.  in a formula, just declare and start using them.  usually you will need 3 formulae to do everything.  1 formula to display, 1 to set to zero at the top of the group and 1 to accumulate.  The last does all the work, and so is a bit trickier than the rest.
 
HTH
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.016 seconds.