Add an Expression for Field Visibility - Intergraph Smart Instrumentation - Help

Intergraph Smart Instrumentation Help

Language
English
Product
Intergraph Smart Instrumentation
Search by Category
Help
Smart Instrumentation Version
13.1

This procedure allows you to set a certain field as visible or invisible, depending on the field value. For a specific example of such a field and expression, see IF Expression for Setting Fields as Visible.

  1. Open the target form page saved as a .psr file in InfoMaker. For details, see Open a Form Page in InfoMaker.

  2. In the Report window, right-click the target table column, and select Properties.

  3. In the Properties window, on the General tab, beside the Visible check box, select PPM All Outputs Graphic.

  4. On the Visible dialog, in the Functions pane, select the if(b, t, f) function, in which b stands for a Boolean expression, t for true, and f for false.

  5. Substitute the b argument with the name of the table column, operator, and value.

  6. Substitute the t, f arguments with 1 indicating that the field is visible and 0 that the field is invisible.

  7. Close the Visible dialog.

    On the General tab, the icon beside the Visible check box changes to green PPM All Outputs Graphic. The expression overrides the Visible check box setting.

  8. Save the .psr file.

See also

Form Page Customization Procedures