OR
Syntax
OR (condition, condition [, condition, ...])
Description
Returns True if at least one condition in the formula is true; otherwise returns False.
Arguments
condition | Two or more logical expressions that can be evaluated to True or False. |
Returns
Boolean True if at least one condition is true; otherwise returns Boolean False.
Remarks
You can also use the Or operator, ||, within formulas.
Examples
The following example
If MyEntity.State equals the value "NH" and MyEntity.PostalCode equals the value "03104", then:
Given the above, the following formula:
OR(MyEntity.State = "NH", MyEntity.PostalCode = "97201")
Returns: TRUE
And the following formula:
MyEntity.State = "MA" || MyEntity.PostalCode = "01720"
Returns: FALSE