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

Exclude sub-reports

edited February 2004 in General
I want to exclude a sub-report because the corresponding dataset can't be
opened.

Regardless what I do, the reportsystem tries to open the dataset - which
fails - and
and error "Cannot open DataSet: ........" is shown.

Is it possible and if so how to do it?

Using RB 7.03 and Delphi 5

Regards

Peter Andersen
DSD Booking ApS

Comments

  • edited February 2004
    Hi Peter,

    If you would like to exclude a certain subreport, you cas simply set its
    visibility to False. You will then need to set it's band and datapipeline
    properties to nil so it will not access the dataset again. Remember to
    reconnect these values if you would like to show the subreport again.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.