Use the Conditions tab to enter or revise an Access When condition rule that can be expressed as a single Boolean expression, or the conjunction (AND or OR) of one or more Boolean expressions.
Each node on the conditions tree defines a single comparison or other condition that evaluates to True
or False
. The Access When condition rule evaluates to True
only if all nodes evaluate to true. While the order of nodes may affect computational performance, orderdoes not affect the outcome of the Access When condition rule evaluation.
The top node is labeled When. To create the first expression:
[expression evaluates to true],
use the Expression Builder for guided assistance; click the Open icon to open it. See About Expressions.To add, edit, or delete conditions, or to create groups of nested conditions, select a node and open the context menu by either:
Edit
— Update the condition.Insert Condition
— Add a condition beneath the selected node. When you close the dialog, an AND or OR logical operator appears to the left of the new node.You can toggle between them by clicking the operator. Changing one value changes all of them at the same node level.Insert Group
— Create a group of nested conditions. Enter a name in the Group Label field to help identify the group on the tree. When you close the dialog, the condition is indented beneath the node above it. Use the expand and collapse icons to display or hide the nodes within the group. When collapsed, only the label is displayed. To edit the label, select it on the tree and choose the Edit
menu option. You can nest groups at multiple levels; for example: A AND B AND (C OR (E AND F))
Delete
— Delete the expression node. Node groups nested beneath it are also deleted.The conditions and logical operators you enter on this tab also appear on the Advanced tab's Condition array and Logic String field.