Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Subreport with chart not showing on main report Post Reply Post New Topic
Author Message
billypg
Newbie
Newbie
Avatar

Joined: 30 Jul 2008
Location: Canada
Online Status: Offline
Posts: 2
Quote billypg Replybullet Topic: Subreport with chart not showing on main report
     Posted: 30 Jul 2008 at 7:59am
Hello,

I have a subreport that i embed on the main report to show a chart. I pass the parameters to the subreport via links so that it knows what to graph.

When I see the preview the charts are nowhere to be found, in fact, no matter what I put on the subreport (like text boxes in the header, details or footer sections) it never shows. But if I double click on it, it opens a new preview of the subreport with the charts.

How do I do to see the charts from the subreport on the main report?

Thanks
IP IP Logged
billypg
Newbie
Newbie
Avatar

Joined: 30 Jul 2008
Location: Canada
Online Status: Offline
Posts: 2
Quote billypg Replybullet Posted: 13 Aug 2008 at 10:39am
I dug a little deeper and found out that it's not the charts on the subreport that are causing the problem. It seems to be the parameters passing from the main report to the subreport. I'm using links to pass the parameters to the subreport but it seems they don't get passed unless I double click on the subreport while previewing.

I have tried everything, well almost. But the subreport doesn't show until I double click on it. I even tried renaming the parameters in the subreport to be in the form Pm-@parameter_name but it still doesn't work Cry

If I unlink the variables then I get prompted for the parameters the subreport uses, if I enter those parameters then the subreport shows as I expected!!. How come it doesn't work when I link the variables to send the parameters to the subreport?


Edited by billypg - 14 Aug 2008 at 7:55am
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