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

Preventing Group Header/Footer bands from printing

edited January 2004 in General
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

Comments

  • edited January 2004
    Hi,

    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.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited January 2004
    Works great. Many, many thanks.

    mbd


This discussion has been closed.