Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppress A Blank Subreport

Status
Not open for further replies.

vafishing

Programmer
Jul 18, 2001
35
US
Here is the scenario. I wrote a shared variable that would suppress a subreport based on conditions. Now I want to suppress the main report if the subreport was suppressed. Is there a way to pass a shared variable in the main report that says if the subreport (named "info") isnull or blank then make the detail line in the main report null also so nothing shows for that particular record. Also would I need to put the subreport on the same detail line as the main report detail line?
 
If the subreport fires before the details in the main, then reference the shared variable in the suppression formula of the details.

-k
 
See thread782-477236 for more about subreports and suppression. As Synapsevampire says, it all depends on the order in which things are done in Crystal.

Madawc Williams
East Anglia, Great Britain
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top