Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Pass shared variable from Subreport to Mainreport Post Reply Post New Topic
Author Message
crystalbeg
Newbie
Newbie


Joined: 30 Oct 2012
Online Status: Offline
Posts: 15
Quote crystalbeg Replybullet Topic: Pass shared variable from Subreport to Mainreport
    Posted: 07 Nov 2012 at 5:20am
Dear all,

I passed a shared variable from a subreport to my main report and it worked perfectly. I would now like to carry out the following:

1. Calculate the sum of the values from the shared variable in my main report. I cant seem to see the shared variable formula on the left hand side window of my running total fields and hence assume i cannot use a running total for this field. It is worth mentioning that my subreport and main report have two different parameters. My subreport calls out values from a single project and the my main report sums up values from multiple projects grouped by the project number. The link between the sub and main report is the project number. Kindly assist me with creating summing up the shared variables from the main report.


2. I would like to use the exact shared variable value for my other two subreports. Is it possible to link the three somehow? I tried creating a new shared variable from the main report whose value is linked to the subreport. After numerous attempts, i could get this to work. please assist here as well.

Thank you very much in advance,

Crystal beginner
MK
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.