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

SubReport and KeepTogether

edited March 2002 in General
Hi!

In a detail band of a report I'm using a subreport. This subreport contains
a group header and a detail band. This detail bands contains three memos and
some labels in a horizontal row. Additional each datafield as a rectangle
around it as a border (StretchWithParent is true). The report should do the
following behaviour: If there is a pagebreak caused by one of the memos in
the datailband of the subreport, then this band should be printed
_completely_ on the next page. At the moment the large memo is printed on
the following page and all other labels are printed on the origin page. The
property KeepTogether of the subreport is ste to true and I tried a lot with
PrintOnOverflow but without any success. Can you give me some hints on how
to solve this (simple?) problem.

Thanks in advance

--
Andreas Menge
Genossenschaftsverband Berlin-Hannover e.V.
eMail: andreas.menge@geno.verband.de

Comments

  • edited March 2002
    Ok, try placing a Region component in the subreport's detailband. Place all
    of the detail band controls inside the region. Draggin a component in the
    region adds it to the region. If a component appears inside of a region, it
    does not automatically mean that the region will contain the component. To
    test to see if the region is the 'parent' of the components, drag the region
    around in the designer. Every component contained (parented) in the region
    should move with the region.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.