SHOWOUTPUT Function (Report)
Microsoft Dynamics Nav 2009
Returns the current setting of whether a section should be printed, and changes this setting.
[IsShow :=] SHOWOUTPUT([SetShow])
Parameters
- SetShow
-
Type: Boolean
The new setting.
Specify true to mean that the section will be printed; otherwise, specify false.
This example shows how to use the SHOWOUTPUT function in the OnPreSection Trigger of the section in order to print a section only when the field called Amount is different from 0.
CurrReport.SHOWOUTPUT(Amount <> 0);
Community Additions
ADD
Show: