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:

1.

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

2.

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

3.

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

4.

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.

5.

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

     PRINT(RPT:MyDetailBand)