Home Subreports
New Blog Posts: Merging Reports - Part 1 and Part 2

Suppressing a subreport at runtime

edited November 2002 in Subreports
I have several independent subreports in a report, defined at design-time.
If I decide at runtime that I want to skip one of them, how do I turn it
off?

(I tried setting its Band property to nil, but got an exception.)

Thanks.

Mike Carroll
Sigma Data Systems, Inc.

Comments

  • edited November 2002
    SubReport.Visible := False

    Ed Dressel
    Team DM
  • edited November 2002
    RBuilder still tried to open the SubReport's pipeline after I set Visible to
    false, but once I got rid of the pipeline that worked ok. Thanks, Ed.

    Mike Carroll
This discussion has been closed.