Toggle navigation
ReportBuilder Support Forums
Categories
Discussions
Activity
Sign In
Home
›
RAP
ReportBuilder 22.06 now available including Delphi 12.2 support!
New Blog Posts: Merging Reports -
Part 1
and
Part 2
How to suppress printing ofa detail
rbuser
February 2004
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
nardmoseley
February 2004
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
rbuser
February 2004
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.
Comments
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
Group, so it looked as if the band were empty, but printed.
Thanks,
Bernd