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

Bring To Front

edited February 2008 in General
Hello

When I right click on a component placed on a subreport and select
BringToFront, the component does not predictably display. What am I
missing?

John

Comments

  • edited February 2008
    Hi John,

    Take a look at the report tree by selecting it from the View | Toolbars...
    option in the main menu of the designer. This will give you the z-order of
    the components created in your report. The z-order defines which report
    components are created in which order. Bring To Front will move the
    component to the bottom of the list (for that band/region) making sure it
    prints last (in front) of all other components.

    --
    Regards,

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

    Best Regards,

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

    The components that I am concerned about print on a subreport (a) which
    itself contains a subreport (b). It appears that the components of concern
    on subreport (a) print after subreport (b). In function, the components
    print at the tail end of the entire report.

    The question becomes how do I reposition the components in subreport (a) to
    print before subreport (b)? There does not appear to be a mechanism to move
    up or move down a specific component in the report tree.

    TIA

    John

  • edited February 2008
    Nico

    I see!

    I must select subreport (b) and sent in to the front. Is this correct?

    TIA

    John


  • edited February 2008
    Hi John,

    Yes, subreports are a stretchable component and behave a bit differently
    than standard report components. In order to control the position that a
    subreport prints you need to set it to print relative to another stretchable
    component. In your case you will want to place a Region component above the
    subreport with all your Subreport(a) components inside. Then set
    Subreport(b) to ShiftRelativeTo that region.

    --
    Regards,

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

    Best Regards,

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