Changes

And Versus Or

44 bytes added, 09:11, 18 March 2019
no edit summary
Search definitions allow you to specify two different kinds of logical conditions. When you specify search criteria you may need all search criteria to be true in order for a record to be included in the search results. In this situation, the ALL AND condition indicates that each and every search criteria be true for a record to be included. If any of the criteria within the ALL AND node is false, the record will not be included in the search result. For example, the search definition shown in [[:Image:fig74.png|Figure 74]] the image below requires that a hazard land have a status equal to ''Open'' and a priority equal to ''High''. In this example, both conditions must be true in order for the hazard land to be included in the result set.
[[Image:ExampleSearchUsingAllConditionExampleSearchUsingANDCondition.png|center|500px|''Example of a Search Using the ALL AND Condition'']]
<div align="center">
''Example of a Search Using the ALL AND Condition''
</div>
In other situations, an item record may only need to satisfy one search criteria to be included in the search results. When this is the case, you should use the ANY OR search condition. The ANY OR condition indicates that only one search criterion must be true.
[[Image:ExampleSearchUsingAnyConditionExampleSearchUsingORCondition.png|center|500px|''Example of a Search Using the ANY OR Condition'']]
<div align="center">
''Example of a Search Using the ANY OR Condition''
</div>
The ALL AND and ANY OR conditions group the search criteria within the group together. The search conditions can be [[Nested Search | '''nested ''']] within one another to create more complex search criteria. {{NavBox HowTo Search}} [[Category:NAA]]
6,632
edits