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

How to suppress printing ofa detail

edited February 2004 in RAP
Hi,

I am sure, I?ve read about this already: How can I suppress the printing of
a detail band by means of RAP?

I tried setting the Visible-Property in the onBeforePrint Event in RAP, but
this fails.

TIA
Bernd

Comments

  • edited February 2004

    In the Band.BeforePrint event you can set the Band.Visible property.

    if {some condition} then
    Report.Detail.Visible := False
    else
    Report.Detail.Visible := True;

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited February 2004
    You are right, this was my fault, I forgot to disable the NewPage of a
    Group, so it looked as if the band were empty, but printed.

    Thanks,

    Bernd
This discussion has been closed.