detail band "keeptogether"
Hi,
I have a report where a detailband has a horizontal line below the
columns data. The details band is set to phDynamic. Sometime, at the
end of a page, the horz line of the detailband does not fit on the page
and is thrown on the next page. How do I stop that? I mean, if the line
does not fit I don't want the last detail on that page, period. I tried
using regions, but maybe I'm not doin it correct. I amsaying this
happens "sometime" because the report may be formatted to fit on A2 or
A3 or A4 paper size, depending on how many columns visible there are.
For this specific report it doesn't fit on A3, but that's not the
issue. The issue is how do I keeptogether the elements of the
detailband?
Thx,
Lucian
I have a report where a detailband has a horizontal line below the
columns data. The details band is set to phDynamic. Sometime, at the
end of a page, the horz line of the detailband does not fit on the page
and is thrown on the next page. How do I stop that? I mean, if the line
does not fit I don't want the last detail on that page, period. I tried
using regions, but maybe I'm not doin it correct. I amsaying this
happens "sometime" because the report may be formatted to fit on A2 or
A3 or A4 paper size, depending on how many columns visible there are.
For this specific report it doesn't fit on A3, but that's not the
issue. The issue is how do I keeptogether the elements of the
detailband?
Thx,
Lucian
This discussion has been closed.
Comments
Which version of ReportBuilder and Delphi are you using?
Regions or subreports provide excellent keeptogether containers for
report components in a band. If you place a region inside your detail
band and set its ParentHeight and ParentWidth to True it will take up
the entire band and keeptogether if the property is set. Be sure all
components are actually inside the region using the report tree.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
and actually forgot about this issue. Now I'm back and back is my issue
... thanks a lot, I will try the tricks with regions/subreports one of
these days.
Merry Christmas,
Lucian