How to suppress printing a Detail Band until explicitly called to print

Top  Previous  Next

Every Detail Band on a template generated Report procedure always prints unless you suppress printing it using a Detail Filter.

To suppress a Detail Band from printing automatically:


On the Band Properties dialog, name a field equate label as the detail structure's USE attribute.


On the Procedure Properties for the Report, press the Report Properties button, then select the Detail Filters tab


Highlight the band to filter out and press the Properties button.


Provide the expression in the Filter: field. In this case use FALSE as the expression.

FALSE will always be false, therefore printing the band will be suppressed.


Use embedded source code to explicitly print the detail band at the appropriate time: