Constants are values you set. Typically, they are used in the True Case and False Case fields, or as a value against which fields are compared in the expression. This tab contains two fields: the Type drop-down list and the Constant field.
The Type drop-down list contains five choices: Integer, Currency, String, Date and Time. The value you are allowed to enter in the Constant field depends on the constant type selected. For example, if you select Integer as the constant type, you will be able to enter only numeric values in the Constant field.
The following expression shows the use of two different constant types. The 12:00:00 PM value is a constant of the Time type, while the True Case and False Case fields’ values of Morning and Afternoon are String type constants.