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.
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?
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
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?
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
Comments
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.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
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?
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
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
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