Reporting User Guide

Create Reports : Styles and Conditional Formatting : Conditionally Change a Label's Text
To create a calculated field, in the Field List, right-click any item inside the dataset, and from the menu, choose Add Calculated Field.
In the Property Grid, set the field's Field Type property to String. Locate its Expression property and click the ellipsis. The Expression Editor is then displayed.
In this window, define the required condition for the calculated field (e.g. Iif([UnitsOnOrder] == 0, 'None', [UnitsOnOrder]), which means that if the UnitsOnOrder data field's is equal to 0, the appropriate control's text will be replaced with None).
The report is now complete. Switch to the Preview tab to view the result.

1974 to current year. AVEVA Solutions Limited and its subsidiaries. All rights reserved.
AVEVA Logo