Making a sub-report an option.
I just finished expanding a large report with a sub-report. It is a M/D
relationship using pipeline links. Finally, it works perfect.
My client asked if I could now make it an option. When expanding the
exisiting report, I moved what was in the original header to the group
header and added a detail with the sub-report.
If I suppress the creation of the subreport, can I still print the group?
Larry
ps of course, my other option is to simply make a second report.
relationship using pipeline links. Finally, it works perfect.
My client asked if I could now make it an option. When expanding the
exisiting report, I moved what was in the original header to the group
header and added a detail with the sub-report.
If I suppress the creation of the subreport, can I still print the group?
Larry
ps of course, my other option is to simply make a second report.
This discussion has been closed.
Comments
You can remove a subreport temporarily from a report by simply setting its
Visibility to False and disconnecting it from a pipeline.
MySubreport.Visible := False;
MySubreport.Report.DataPipeline := nil;
You might also want to consider using the drilldown capability of the
subreports. This allows the end user to compress and inflate the subreports
in the preview by clicking a link. For examples of drilldown reports,
please see the main reporting demo located in the \RBuilder\Demos\1.
Reports\... directory. Demos 151 - 160 are all drilldown reports.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
I am controlling the visibility and it works great.