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 hide detail band depending a filed
rbuser
October 2003
edited October 2003
in
RAP
Hi,
I need no print a record depending the value of a filed, how can I do it?.
it?s posible to hide the detail band?
thanks
Comments
nicocizik
October 2003
edited October 2003
Hi Felix,
You can hide the detail band by setting its Visible property to False in the
DetailBeforePrint event. Something like the following...
procedure DetailBeforePrint;
begin
if (customer['CustNo'] = 1231) then
Detail.Visible := False
else
DetailVisible := True;
end;
--
Best Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
This discussion has been closed.
Comments
You can hide the detail band by setting its Visible property to False in the
DetailBeforePrint event. Something like the following...
procedure DetailBeforePrint;
begin
if (customer['CustNo'] = 1231) then
Detail.Visible := False
else
DetailVisible := True;
end;
--
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com