Home Subreports

setting parts of a report to invisible

edited November 2002 in Subreports
Hi,

I have a report with one subreport in an groupfooter. Now I want the user to
choose, wether to print both reports or one of them. The subreport works
with the visible property set to true/false. But how can I set the main
report to invisible, so that only the subreport is printed.

Thanks
Helmut

Comments

  • edited November 2002
    There is no way to turn off a main report and still print the subreport.
    Then only way, would be to set the other bands in the main report that don't
    have the subreport in it. Then you can turn off all the other controls in
    the same band as the subreport. The net effect is that the subreport
    component will be the only visible component in the main report.

    An alternative is to save the subreport layout to a report template (rtm).
    Then load the subreport template to a new report layout which is standalone
    and not a subreport in a main report. This way you can print just the
    "subreport" as a full report.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.