Preventing Group Header/Footer bands from printing
RB 7.02
Delphi 5 Pro
Is it possible to not have a GroupHeaderband or a GroupFooterBand print for
a certain group?
For example, I want to print an invoice that details items by groups. The
first record that prints, though, is a balance forward amount. Although this
record technically is a seperate group, which adheres to all the RB group
rules, I don't want the GroupHeaderBand and GroupFooterband to print for
this first record? Is there any way to accomplish this?
mbd
Delphi 5 Pro
Is it possible to not have a GroupHeaderband or a GroupFooterBand print for
a certain group?
For example, I want to print an invoice that details items by groups. The
first record that prints, though, is a balance forward amount. Although this
record technically is a seperate group, which adheres to all the RB group
rules, I don't want the GroupHeaderBand and GroupFooterband to print for
this first record? Is there any way to accomplish this?
mbd
This discussion has been closed.
Comments
Try checking the break value of the group inside the
TppGroupHeaderBand.BeforePrint event, and based on that value, set the
GroupHeaderBand and GroupFooterBand's Visibility to False. You can get
access to the break value of a group by using the TppGroup.OnGetBreakValue
event.
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
mbd