Setting up expression binding

Expression binding is a kind of data binding that you can apply only to Edit and Static components. This type of binding expands the capabilities of forms and reduces situations where form scripts or extended IDOs are required.

To set up expression binding for an Edit or Static component:

  1. With a form open in Design Mode, select the Edit or Static component that you want to apply expression binding to.
  2. On the Component property sheet, click the ellipsis () button for the Data Source > Binding property.
  3. In the Edit Component Data Binding dialog box, select Expression as the Type.
  4. Click Edit.
  5. In the Edit Expression Binding dialog box, perform these steps:
    1. In the Function field, select what type of expression function or operator to perform on the values returned for the component.
    2. Specify the operand values.
      Note: Click Edit to recursively open the expression editor to build or edit the operand value.
    3. Click Validate.
  6. Click OK.
The expression is stored in the component data source in the form of expression( expression ).