Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Display Parameters of Subreport On Main Report Post Reply Post New Topic
Author Message
jerry911
Newbie
Newbie
Avatar

Joined: 12 Mar 2008
Location: United States
Online Status: Offline
Posts: 3
Quote jerry911 Replybullet Topic: Display Parameters of Subreport On Main Report
    Posted: 12 Mar 2008 at 7:50am
I've created a report in Crystal 10 that is pretty basic. It is just a main report with a sub report added to it. Basically at runtime the parameter dialog box appears for the user to select a date range for the main report and also for the subreport.
Is there a way to have the parameters the user selects for the subreport displayed on the main report?
I can get the parameters of the main report with no problem, I just have not found a way to display the ones for the subreport.
Please help!!!


Edited by jerry911 - 12 Mar 2008 at 2:21pm
IP IP Logged
BrianBischof
Admin Group
Admin Group
Avatar

Joined: 09 Nov 2006
Online Status: Offline
Posts: 2458
Quote BrianBischof Replybullet Posted: 12 Mar 2008 at 11:14pm
Create a Shared variable in the subreport and assign the parameter to the shared variable. Then you can reference the shared variable in the main report anywhere after the subreport is printed. You can find out more about Shared variables and how to use them with Subreports in my book Crystal Reports Encyclopedia.
Please support the forum! Tell others by linking to it on your blog or website:<a href="http://www.crystalreportsbook.com/forum/">Crystal Reports Forum</a>
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.