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

Sub Report Headers Not Visible

edited September 2007 in General
Hello All!

I am using version 10.06 and I am having a problem with the Headers (and
Footers) of any given Sub Report.

Here is the scenario. When I design the new sub report, I insure that at
design time, the "visible" property is set to true.
However, when I run the report, the header (and footer) do not show up.
When I go back into the design mode, the
visible properties are back to unchecked (not visible) for both the header
and the footer of the sub report.

Can someone help me to understand why this property seems to be getting
reset whenever I run the report?

Thanks in advance,
Everett

Comments

  • edited September 2007
    Hi Everett,

    ------------------------------------------------------------------
    Tech Tip: Subreport header/footer bands do not print for
    Child type subreports.
    ------------------------------------------------------------------

    For a subreport set to pbChild, the header/footer are not supported.
    A child type subreport prints on its parent's page space and
    therefore behaves more like a memo.

    Options:

    1. Use Title/Summary band.

    2. Use GroupHeader/GroupFooter. If you need to repeat the header
    when a page breaks then then you can create a group and
    set StartNewPage to True.


    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    Wow! Nico, that was a very speedy reply! I really do appreciate that!

    Now, please excuse my lack of knowledge here, as I am a newbie to RB, but
    how do I know that my subreport type is pbChild (or anything else for that
    matter)?

    Thanks,
    Everett

  • edited September 2007
    Nico:

    Please ignore my last message; I found it back on the main report; I was
    looking for the "type"
    over on the sub report but I should have been looking main report.

    Thanks,
    Everett

  • edited September 2007
    Nico:

    One last thing on this, what are your thoughts on setting the "visible"
    property on the "Calc" tab in the OnBeforePrint?
    I found that I could get the desired result there as well, but I just want
    to get your thoughts?

    Thanks,
    Everett

  • edited September 2007
    Hi Everett,

    I'm a bit unclear about what you are trying to do. Are you manually setting
    the visibility of the Page Header and Page Footer for a child subreport?
    This is not recommended because these bands are not designed to work with
    child subreports.

    --
    Regards,

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

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited September 2007
    Yes, that is what I think my user was trying to do; I will inform them that
    it is NOT recommended.

    Thanks again, Nico! You have been a great help today!

    Everett

This discussion has been closed.