Suppressing/Hiding Detail Lines?
Hello All!
I am using version 10.03 and I have a question about suppressing/hiding
detail lines.
Is it possible to suppress/hide the detail section on a given, predetermined
condition?
For example, if my detail line had clients in good standing (not past due)
and clients
in past due standing, and if I wanted to display either one or the other
based on the
"standing" (i.e. past due balance <> 0 or past due balance = 0), is that
possible?
If so, can someone provide feedback or point me in the right direction?
Thanks in advance,
Everett
I am using version 10.03 and I have a question about suppressing/hiding
detail lines.
Is it possible to suppress/hide the detail section on a given, predetermined
condition?
For example, if my detail line had clients in good standing (not past due)
and clients
in past due standing, and if I wanted to display either one or the other
based on the
"standing" (i.e. past due balance <> 0 or past due balance = 0), is that
possible?
If so, can someone provide feedback or point me in the right direction?
Thanks in advance,
Everett
This discussion has been closed.
Comments
The easiest way to do this would be to alter your query to only return the
clients that have a balance past due. Pre-processing your data in this way
would make the report work as is, without any extra code.
If this is not possible, you could use the DetailBand.BeforePrint to check
the field value, then toggle the visibility of the band based on that value.
ppDetailBand.Visible := (ppReport.DataPipeline['Balance'] > 0);
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Thank you so very much for your reply! That worked perfectly (setting the
visible property conditionally).
Regards,
Everett