Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Main and Subreport Post Reply Post New Topic
Author Message
spl1
Newbie
Newbie
Avatar

Joined: 18 Jun 2009
Location: United Kingdom
Online Status: Offline
Posts: 20
Quote spl1 Replybullet Topic: Main and Subreport
     Posted: 09 Mar 2010 at 6:51am
Hi
Wonder if anyone has any idea's how to help me conquer:-
 
When the main report has detail to report and the subreport has detail = both bring back data
When the main report has detail to report and the subreport has no detail = main report brings back data
When the main report has no data to report and the subreport has detail = no detail returned at all
 
The main report is bringing back detail into the details section, the report is grouped by name which is also the link for the sub to main report. The subreport is held in the group header and the detail is being returned into the group footer via shared variables.
 
I've tried moving the shared variables to header and to detail sections and still returned no detail.
 
Any idea's, with thanks in advance
Sarah
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4374
Quote lockwelle Replybullet Posted: 10 Mar 2010 at 6:27am
If the main report has no data, then the value that it uses to link to the subreport is probably blank as well....and the subreport can't run.  If the group header is displayed, then I would check the links to the subreport.
 
Either way, it comes down to what value is being passed to the subreport.  If there is no value...
 
HTH
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