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

Limiting DetailBand size.

edited August 2001 in General
(Delphi 5, RB5.5)

Is there any way of limiting the space that a detail band will print into.

I have a report that prints onto pre-printed stationary. On this paper there
is space reserved at the bottom of each page for summary details. The info
that gets printed into this section is group summary details, and gets
printed when the group ends. The format of the paper gives me limited space
in the middle of the page for the details that get summarised.

My problem is that I see no way of restricting the detail bands from
printing into the section that is reserved for the group summary.

Each detail band can vary in size to some extent, so the obvious solution of
using the Printcount property of the detail band won't work.

I have tried using a sub-report for the details, as the sub report has the
StopPosition property which sounds like just what I needed. Although this
printed correctly, the group summary info outside the child report stopped
working properly (giving details from the first detail row only).

I would appreciate any ideas, as I am stumped.

Regards,

John.

Comments

This discussion has been closed.