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.

Type: Boolean

true if the section is printed; otherwise, false.

This function is typically used when there is more than one section of the same type and it must decided from the value of a field, for example, whether the section should be printed.

This function is not supported on client report definition (RDLC) report layouts.

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: