How to: |
You can select the EMPTYREPORT command in the Set tool to control the output when a TABLE request retrieves zero records.
EMPTYREPORT is not supported with TABLEF or Excel. When a TABLEF or Excel request retrieves zero records, an empty report is generated.
Note: Using the IF TOTAL or WHERE TOTAL phrases when EMPTYREPORT is set to OFF may produce an empty report if there is no data that satisfies the TOTAL condition. This occurs because the test for report lines for EMPTYREPORT is applied before the TOTAL condition is applied.
The Set tool opens.
or
Double-click EMPTYREPORT.
EMPTYREPORT is added to the Used Settings list.
You may select from the following options:
If the SQL Translator is invoked, ANSI automatically replaces OFF as the default setting for EMPTYREPORT.
The following image is an example of the EMPTYREPORT command in the Set tool.
The corresponding syntax is:
SET EMPTYREPORT = {ANSI|OFF|ON}
WebFOCUS |