show / hide menu

Rules Expression Builder

When you create a new rule by clicking on the Create New rule button in the Rules panel

  • The new rule will be created with the default name.
  • Click on the edit button to rename the rule name.
  • Click on the “+” button in the Decisions section to to create a new decision.

Expression Builder

  1. Click on the controls in the first listbox. This will display all the controls in the current form in the next listbox.
  2. Select the required control. In this example if I select the control named “dgVacation” which is a dynamic grid. This will display all the properties of the grid control.
  3. Select the ColIndex property, which will let us know the current column in focus in the grid.
  4. Click on the add button which will add the expressions section. Then click on the “=” button to add the operator to the expression.
  5. Click on the operator “=” to display the “Add LHS” and “Add RHS” buttons.
  6. Clicking on the “Add RHS” button will insert a new textbox right side of the operator.
  7. Type the value 2 in the “RHS” textbox.
    Now we have an expression that checks if the current row is the first column. Click on the Done button for completing the expression.