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

Regions inside Regions

edited February 2003 in General
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

Comments

  • edited February 2003

    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
This discussion has been closed.