Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Shared Variables in CR XI Post Reply Post New Topic
Author Message
gladson1976
Newbie
Newbie
Avatar

Joined: 14 May 2008
Online Status: Offline
Posts: 1
Quote gladson1976 Replybullet Topic: Shared Variables in CR XI
    Posted: 14 May 2008 at 11:28pm
hi all,

i have a small problem in CR XI. i've used shared variables in many reports and they have never been  a problem except this one.

i have a shared variable in the main report which is initialized to 0 in a group header.
in the detail section there is a subreport which sets the value for the shared variable and there is a formula in the group footer which displays the shared variable.
the problem is, the value is not showing up in the main report. if i display the variable inside the subreport, the value is there but it is not showing up in the main report. shows up as 0.

any suggestions?
IP IP Logged
Lugh
Senior Member
Senior Member
Avatar

Joined: 14 Nov 2007
Online Status: Offline
Posts: 377
Quote Lugh Replybullet Posted: 15 May 2008 at 5:32am
My first guess is that it is a timing issue.  Try putting a WhilePrintingRecords at the top of each formula. 


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.031 seconds.