Changes

Jump to: navigation, search

And Versus Or

3,289 bytes added, 18:17, 2 July 2012
Created page with "<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; padd..."
<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: 0.2em; font-weight: bold; background-color: #cee0f2" class="">Search</td>
</tr>
<tr>
<td style="padding-bottom: 0.2em; text-align: left">
[[Search Manager Window]]<br />
[[Search Results Window]]<br />
[[HowTo:Search Terms|Search Terms]]<br />
[[HowTo:Search the Field Report Audit Log|Search Audit Log]]<br />
</td>
</tr>
<tr>
<td style="padding-top: 0.2em; font-weight: bold; background-color: #cee0f2" class="">Search Maanger Window</td>
</tr>
<tr>
<td style="padding-bottom: 0.2em; text-align: left">
[[HowTo:Add a Search Definition|Add Search Definition]]<br />
[[Any Versus All]]<br />
[[HowTo:View or Change a Search Definition|View/Change Search Definition]]<br />
[[HowTo:Remove a Search Definition|Remove Search Definition]]<br />
[[HowTo:Execute a Search Definition|Execute Search Definition]]<br />
</td>
</tr>
</table>

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:fig74.png|center|500px|''Figure 74. Example of a Search Using the ALL Condition'']]
<div align="center">
''Figure 74. Example of a Search Using the ALL 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 search condition. The ANY condition indicates that only one search criterion must be true.

[[Image:fig75.png|center|500px|''Figure 75. Example of a Search Using the ANY Condition'']]
<div align="center">
''Figure 75. Example of a Search Using the ANY Condition''
</div>

The ALL and ANY conditions group the search criteria within the group together. The search conditions can be nested within one another to create more complex search criteria.

[[Category:Using IMSMA]]
[[Category:Search]]
[[Category:Topical]]
0
edits

Navigation menu