Print Page | Close Window

Adding individual reports to composite

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=13527
Printed Date: 28 Apr 2024 at 10:20am


Topic: Adding individual reports to composite
Posted By: bigdummy76
Subject: Adding individual reports to composite
Date Posted: 17 Jun 2011 at 3:43am
I have created several individual reports. Rather than use sub-reports to create one giant report, I want to give the end user the ability to select which individual reports they want to add to the composite report.



Replies:
Posted By: jkwrpc
Date Posted: 17 Jun 2011 at 8:44am
You can use parameters to suppress the sections (subreports) you dont want to show. Probably is easiest if you have the subreports in separate detail sections, then suppress the section that subreport is in.  This is something I always forget, the suppress formula is a true -false statement. So if you want something to suppress, you will need make sure the formula its evaluates the parameter to is true. Something like
parameter1 <> "Show" So if the parameter is Show it does not suppress and if it is 'Hide" it suppresses because Hide <> Show.
 
You will need a separate parameter for each section you want to suppress, if you want 'granular' control for each subreport.
 
Hope this is of some help.
 
Regards,
 
John W.
http://www.CustomReportWriters.net - www.CustomReportWriters.net
 


Posted By: bigdummy76
Date Posted: 21 Jun 2011 at 4:46am
BINGO! Owe ya a beer



Print Page | Close Window