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

Subreport "no data"

edited September 2008 in Subreports
Hello,

Is there a way to get an "empty" print of a subreport when there are
no data?

I know the pipeline option NoDataBehavior, and this works with the
main report, but is there something similar to also get the empty
subreports to be printed?

Thankx,

Chantal

Comments

  • edited September 2008
    Hi Chantal,

    Setting the NoDataBehaviors property of the subreport to ndBlankPage will
    give you a blank page instead of the subreport components. If you would
    like to remove the subreport completely, you will need to check to see if
    there is any data before the subreport prints and set its visibility
    property accordingly.

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2008
    Hi Nico,

    Sorry if I was not clear, but I actually do want the subreport to
    print, even empty, also when there are no data...

    I can print an empty report when the master pipeline has no data, I
    get all the labels and layout, also for one empty record in the detail
    section, but I don't get any of the subreports...and I need those too.

    Customers use the empty reports as form to fill out missing
    information...I need to be able to show what information is missing...

    Is this possible?

    Thankx,

    Chantal

    On Fri, 12 Sep 2008 07:39:42 -0600, "Nico Cizik \(Digital Metaphors\)"
  • edited September 2008
    Sorry, Just found it.

    When I set each subreport to "ndBlankReport" I get exactly what I
    want...

    Thankx,
    Chantal

    On Fri, 12 Sep 2008 07:39:42 -0600, "Nico Cizik \(Digital Metaphors\)"
This discussion has been closed.