Determines if any of the specified logical expressions are true.
Or( [ LogicalExpression1], [ LogicalExpression2], [ LogicalExpression n] )
Where:
LogicalExpression1, LogicalExpression2, LogicalExpression n, are rules that, when evaluated, return either TRUE or FALSE.
There can be 1 to 255 LogicalExpressions in any one Or Function.
If at least one of the LogicalExpressions returns TRUE then the Or function will return TRUE.
If all LogicalExpressions return FALSE then the Or function will return FALSE.
Rule | Meaning |
---|---|
Or(ProductComboBoxReturn = "Door", ProductCodeTextBox = "D355") | Checks the return values of a combo box called ProductComboBox and a text box called ProductCodeTextBox. If the ProductComboBox is equal to "Door" or the ProductCodeTextBox is equal to "D355" then the Or function will evaluate to TRUE. See the Example Breakdown for the different outcomes of the Or function |
LogicalExpression1
| LogicalExpression2
| Result of the Or function |
---|---|---|
TRUE | TRUE | TRUE |
TRUE | FALSE | TRUE |
FALSE | TRUE | TRUE |
FALSE | FALSE | FALSE |
Operator | Meaning |
---|---|
< | Checks to see if the value on the left hand side of the operator is less than the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |
<= | Checks to see if the value on the left hand side of the operator is less than, or equal to, the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |
> | Checks to see if the value on the left hand side of the operator is greater than the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |
>= | Checks to see if the value on the left hand side of the operator is greater than, or equal to, the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |
<> | Checks to see if the value on the left hand side of the operator is not equal to the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |
= | Checks to see if the value on the left hand side of the operator is the same as the value on the right hand side, and if so, returns TRUE, otherwise returns FALSE. |