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 by using the decision table editor, or in 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 by using the decision table editor: To change an operator by using the edit bar: To set the cell value to an expression:
    1. In the decision table editor, right-click the cell.
    2. Click Operator, and then click an operator.
    1. In the decision table editor, click the cell.
    2. In the edit bar, modify the operator part of the statement.
    3. Click Enter Enter button next to the edit bar.

      The operator displays as a symbol next to the cell value.

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

    The expression is shown in italics in the cell, as in the example.

  2. Save your changes.

Results

The following example of a decision table shows an expression in italics in the cell:

Setting the cell value to an expression in the decision table editor