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

how to hide detail band depending a filed

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

  • 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.