Print Page | Close Window

Passing Data to subreport

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=17767
Printed Date: 03 May 2024 at 6:01pm


Topic: Passing Data to subreport
Posted By: krexroth
Subject: Passing Data to subreport
Date Posted: 15 Oct 2012 at 9:32am
Hi all, I asked earlier about consilidating data from two different tables, grouped by a salesID, into one report and kinda answered my own question by simply designing the appropriate subreport and linking on the SalesID....The issue I encounter is predictable...if there aren't any values in the master report for a relevant salesID, but there are in the sub, the valid values in the sub won't be shown because that ID isn't in the master to begin with so there is no value to pass to the sub.
 
Suggestions for dealing with this issue?



Replies:
Posted By: DBlank
Date Posted: 15 Oct 2012 at 11:45am
if you are using the salesid as the link you can't really do it.
you would have to run a different subreport with no link (or a differnet link) and pull the dta in as a differnet variable.



Print Page | Close Window