Discussion:
QuickReport: TQRGroup: ReprintOnNewPage
(too old to reply)
Chris Rogers
2005-11-12 01:40:23 UTC
Permalink
Hi All. A QuickReport form includes a TQRGroup component and a TQRSubDetail
object in a Master-Detail setup. Everything works correctly except the
QRGroup band does not print near the top the next page when the QRSubDetail
band spans the page break. The ReprintOnNewPage Property of the QRGroup
object is set to 'true'. Please suggest a remedy. Thank you,
Chris
Antonio Felix
2005-11-12 18:40:05 UTC
Permalink
Post by Chris Rogers
Hi All. A QuickReport form includes a TQRGroup component and a
TQRSubDetail object in a Master-Detail setup. Everything works correctly
except the QRGroup band does not print near the top the next page when the
QRSubDetail band spans the page break. The ReprintOnNewPage Property of
the QRGroup object is set to 'true'. Please suggest a remedy. Thank you,
Chris
Hi Chris,

Use the TQRGroup LinkBand property pointing to the TQRSubDetail one

Description
Use LinkBand to make sure printing of two different bands on the same page.
This is useful to prevent orphan group footer bands, summary bands etc. By
linking this property to some band it is guarantied that the linked band
will not appear as the first band on a new page, one copy if the current
band will always be moved onto the next page and printed before the linked
band.

HTH
Antonio
Chris Rogers
2005-11-14 14:59:32 UTC
Permalink
Hi Antonio. Thank you for the suggestion. I tried using the LinkBand
property to link the TQRGroup and TQRSubDetail objects, but the TQRGroup
still will not display on a newpage when the TQRSubDetail spans more than
one page. More suggestions would be greatly appreciated.
Chris
Post by Antonio Felix
Post by Chris Rogers
Hi All. A QuickReport form includes a TQRGroup component and a
TQRSubDetail object in a Master-Detail setup. Everything works correctly
except the QRGroup band does not print near the top the next page when
the QRSubDetail band spans the page break. The ReprintOnNewPage Property
of the QRGroup object is set to 'true'. Please suggest a remedy. Thank
you,
Chris
Hi Chris,
Use the TQRGroup LinkBand property pointing to the TQRSubDetail one
Description
Use LinkBand to make sure printing of two different bands on the same
page. This is useful to prevent orphan group footer bands, summary bands
etc. By linking this property to some band it is guarantied that the
linked band will not appear as the first band on a new page, one copy if
the current band will always be moved onto the next page and printed
before the linked band.
HTH
Antonio
Antonio Felix
2005-11-14 17:34:01 UTC
Permalink
Post by Chris Rogers
Hi Antonio. Thank you for the suggestion. I tried using the LinkBand
property to link the TQRGroup and TQRSubDetail objects, but the TQRGroup
still will not display on a newpage when the TQRSubDetail spans more than
one page. More suggestions would be greatly appreciated.
Chris
Hi Chris,

It works fine with a TQRDetail Band.
What's your report layout ?
QRGroup
------ QRDetailBand
-----------QRSubDetailBand

I guess that the missing QRDetailBand is the problem!
You may try to insert a detail Band and move the Group printout
there. Then use the LinkedBand of the QRDetailBand to point to
the QRSubDetail one

Br
Antonio

Loading...