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

Move Subreport

edited May 2004 in Subreports
as I can move of position subreport?

Manolo

Comments

  • edited May 2004
    Hi Manolo,

    Yes, it is possible to move a subreport in code. You will need to re-assign
    the Top and Left properties of the subreport before the report generates.
    If you would like to switch bands that it is in, you will need to change the
    Subreport.Band property as well.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited May 2004
    No, sorry.
    I want to move a report of position in which she appears in tab of design.
    I want to change the orientation of the paper to horizontal, but subreports
    are child and the orientation does not establishes correctly.

    in summary. as I can change to the orientation of an subreport of type
    child?



  • edited May 2004

    You must subreport.PrintBehavior to pbSection. Only section style subreports
    can have a different orientation than their parent. Section style subreport
    always start on a new page and print on their own page space. Child
    subreports print like memos, on the parent page space.

    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited May 2004
    Thanks,

    But my problem is:
    I have changed the style of subreport and in preview it does not appear in
    the place that I have specified.
    The subreport of type "sections" visualize in relation to their order of
    creation?
    can be changed this behavior?

    Manolo



  • edited May 2004
    Section style subreports print in z-order. You can view the z-order by
    selecting View | Toolbars | Report Tree. You can modify by position the
    mouse over a subreport, pressing the right mouse button and select
    BringToFront and SendToBack.


    --
    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.