Changes

And Versus Or

1,731 bytes removed, 09:11, 18 March 2019
no edit summary
<table cellspacing="5" cellpadding="0" style="float: right; clear: right; color: black; background: #f9f9f9; border: 1px solid #aaa; width: 22em; margin: 0 0 1.0em 1.0em; padding: 0.2em; border-spacing: 0.4em 0; text-align: center; line-height: 1.4em; font-size: 88%; background-color: #f5faff; font-size: 90%; width: auto; line-height: 1.6em; width:150px;;;" class="vertical-navbox nowraplinks"><th style="padding: 0.2em 0.4em 0.2em; font-size: 145%; line-height: 1.2em; font-weight: bold; background-color: #9aa8b5; font-size: 125%" class="">Related Topics</th><tr><td style="padding-top: 0.2em; font-weight: bold; background-color: #cee0f2" class="">Using IMSMA</td></tr><tr><td style="padding-bottom: 0.2em; text-align: left">[[Geospatial Data]]<br />[[Search]]<br />[[Reports]]<br />[[Printing]]<br />[[Map Layouts]]<br /></td></tr><tr><td style="padding-top: 0definitions allow you to specify two different kinds of logical conditions.2em; font-weight: bold; background-color: #cee0f2" class="">Search</td></tr><tr><td style="padding-bottom: 0When 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.2em; text-align: left">[[Search Manager Window]]<br />[[Search Results Window]]<br />[[HowTo:Search Terms|Search Terms]]<br />[[HowTo:Search In this situation, the Field Report Audit Log|Search Audit Log]]<br /></td></tr><tr><td style="padding-top: 0AND condition indicates that each and every search criteria be true for a record to be included.2em; font-weight: bold; background-color: #cee0f2" class="">Search Manager Window</td></tr><tr><td style="padding-bottom: 0If any of the criteria within the AND node is false, the record will not be included in the search result.2em; text-align: left">[[HowTo:Add For example, the search definition shown in the image below requires that a Search Definition|Add Search Definition]]<br />[[Any Versus All]]<br />[[HowTo:View or Change land have a Search Definition|View/Change Search Definition]]<br />[[HowTo:Remove status equal to ''Open'' and a Search Definition|Remove Search Definition]]<br />[[HowTo:Execute a Search Definition|Execute Search Definition]]<br /></td></tr></table>priority equal to ''High''. In this example, both conditions must be true in order for the land to be included in the result set.
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 condition indicates that each and every search criteria be true for a record to be included. If any of the criteria within the ALL 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]] requires that a hazard 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 to be included in the result set. [[Image:fig74ExampleSearchUsingANDCondition.png|center|500px|''Figure 74. Example of a Search Using the ALL AND Condition'']]
<div align="center">
''Figure 74. 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:fig75ExampleSearchUsingORCondition.png|center|500px|''Figure 75. Example of a Search Using the ANY OR Condition'']]
<div align="center">
''Figure 75. 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:Using IMSMA]][[Category:Search]][[Category:TopicalNAA]]
6,632
edits