Setting default operators for columns

When you specify a default operator in a condition statement, you can override the operator in a particular row. You can also modify the value of a cell by adding an expression.

About this task

When you define a condition column statement, you set the default operator for all the cells in that column.

For example, if you define the following condition column statement, you set the default operator to is more than (>):

the age of the customer is more than <enter a string>

The operators you can choose from match the value type for the cell. You can change an operator later by editing the cell. You can edit a cell in the decision table or the edit bar.

You can set the cell value to an expression. You can specify expressions only by using the edit bar.

Procedure

To define a condition column statement:

  1. Set the default operator for all the cells in that column in one of the following ways:
    To change an operator for a cell by using the decision table editor: To change an operator for a column by using the decision table editor: To set the cell value to an expression:
    1. In the decision table editor, right-click the cell.
    2. Click Change operator, and then click an operator.

      The operator is displayed as a symbol next to the cell value.

    1. In the decision table editor, click the arrows in the header of the column.
    2. Click Operator, and then click an operator in the menu.
    3. Click OK to apply the change.

      The operator is displays as a symbol in the column.

    1. In the decision table editor, click the cell.
    2. In the edit bar, modify the value part of the statement.
    3. Click OK.

    The expression is shown in italics.

  2. Save your changes.