To define a formula control

  1. In the Infrastructure Administrator, do one of the following:
    • Click Enterprise and connect to the enterprise industry model. Open a project.
    • Click File and open an industry model drawing or template.
  2. Expand the Industry Model node and click Form Designer.

    The form designer is displayed in the right pane. The topics and feature classes are displayed in the form explorer.

  3. In the form explorer, select the feature class, such as DOC_GREENSPACE.
  4. Select the Form Type, such as Default, and click Edit.
  5. In the Form Designer dialog box, on the designer toolbar, click the Formula Textbox icon.
  6. Click OK for the name.
  7. In the left pane, click the Properties tab.
  8. Select the Formula property.
  9. Click to open the formula editor.

    In the formula editor, all current database attributes are listed in the Attributes pane.

  10. Double-click an attribute name to use it in the formula.

    In the formula, you may use all valid VB .NET expressions, for example, you can use result = {AREA} * {MAINTENANCE_COSTS}.

  11. In the formula editor, click Check Code to check the formula for syntax errors, using the current record.
  12. Click Test to check the result with the current record set.
  13. Click OK.