Regions inside Regions
Hi,
I am on 6 have nested a region inside another region. The
report tree does not show the nesting. Is this correct and
they are not nested? A region does have a field of Region
so it looks like you should be able to nest them. I then
turned the Visible of the outer region off but the inner
region still showed so I assume this does not work.
Is this changed in RB 7?
Thanks
Joseph Gordon
I am on 6 have nested a region inside another region. The
report tree does not show the nesting. Is this correct and
they are not nested? A region does have a field of Region
so it looks like you should be able to nest them. I then
turned the Visible of the outer region off but the inner
region still showed so I assume this does not work.
Is this changed in RB 7?
Thanks
Joseph Gordon
This discussion has been closed.
Comments
Sorry, but you cannot place a Region inside a Region, this is not supported
in RB 6, or RB7. The Region has a region property because it is a descendant
of TppComponent. However, it overrides the SetRegion method to do nothing -
so the assignment is ignored.
As an alternative try using a subreport that is not connected to a
datapipeline. A region can contain a subreport and subreports can contains
regions or other subreports. You can set subreport.PrintBehavior to pbFixed
if you want the subreport to occupy a fixed amount of page space.
--
Nard Moseley
Digital Metaphors
http://www.digital-metaphors.com
Best regards,
Nard Moseley
Digital Metaphors
www.digital-metaphors.com