Home General

Subreport Deactivation

edited October 2001 in General
Hi

I have a Main report with a few subreports. The subreports must be
displayed according to user input - thus the user chooses which subreport(s)
he/she wants to see. How can I disable the subreports which the user don't
want to see. I can set the subreport's Visible property to False, but this
still causes the report to be generated - thus waisting resources
unnecessarily.

Help will be appreciated

Thank You
Rico Koegelenberg

Comments

  • edited October 2001
    You can create a new driver report, which contains only the requested
    reports. Save each of the subreports to file, then load the report
    definitions into the subreports...

    You can download an example from:

    http:/www.digital-metaphors.com/tips/DynamicSubReportCreation.zip


    -
    --
    Tom Ollar
    Digital Metaphors Corporation
This discussion has been closed.