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

Prevent suibreport page on no data

Hi
My template is 1 page Job details with occasional records from a query in a subreport on a new page. If there is no data for the subreport, I can't stop the new page form printing with the Title information on it's own, which is an unrequired page. I've tried moving into header but the never print in subreports. Not sure what else to try.
Andy

Comments

  • Hi Andy,

    Be sure the NoDataBehaviors property of the subreport is set to ndBlankPage. This will ensure the entire subreport is hidden when no data is present for that record. In my quick testing, this worked as expected.


    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.