Difference between revisions of "Add a Search Definition"

From IMSMA Wiki
Jump to: navigation, search
(Version 6.0)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
To add a search definition:
 
 
<ol>
 
<ol>
<li>From the '''Search''' menu, select '''Advanced Search'''.</li>
+
<li>Either from the '''Saved Searches''' window select the [[File:FieldTemplateIcon.png]] or in the '''Search''' menu &rarr; '''Advanced Search'''.</li>
:The Search (Add) window displays.
 
<li>Enter a name for the search definition in the '''Name''' field.</li>
 
<li>Enter a description of the search definition in the Description field.</li>
 
 
<li>From the Search Target list, select the item that you would like to search.</li>
 
<li>From the Search Target list, select the item that you would like to search.</li>
<li>The search condition defaults to ''OR''. You can change the search condition by clicking the condition in the search criteria pane and selecting ''OR'' or ''AND'' from the list. For more information on the AND/OR search condition, refer to ''[[And Versus Or]]''.</li>
+
<li>The search condition defaults to ''OR''. You can change the search condition by clicking the condition in the search criteria pane and [[And Versus Or|selecting ''OR'' or ''AND'']] from the list. </li>
</ol>
 
  
 
[[Image:fig72.png|center|500px|''Changing the AND/OR Condition'']]
 
[[Image:fig72.png|center|500px|''Changing the AND/OR Condition'']]
Line 14: Line 9:
 
</div>
 
</div>
  
<ol start="6">
 
 
<li>To add a criteria to the search definition, click the [[Image:FieldTemplateIcon.png | Add]] button.</li>
 
<li>To add a criteria to the search definition, click the [[Image:FieldTemplateIcon.png | Add]] button.</li>
 
<li>A row is added to the criteria pane. Each row in the pane represents a criterion. A criterion is comprised of an attribute, operator, and value.</li>
 
<li>A row is added to the criteria pane. Each row in the pane represents a criterion. A criterion is comprised of an attribute, operator, and value.</li>
</ol>
 
  
[[Image:fig73.png|center|500px|''Figure 73. Criterion Components'']]
+
[[Image:fig73.png|center|500px|''Criterion Components'']]
 
<div align="center">
 
<div align="center">
 
''Criterion Components''
 
''Criterion Components''
 
</div>
 
</div>
  
<ol start="8">
 
 
<li>Select the attribute on which you would like to apply a constraint from the leftmost list. The attributes in the list are determined by the item selected from the Search Target list.</li>
 
<li>Select the attribute on which you would like to apply a constraint from the leftmost list. The attributes in the list are determined by the item selected from the Search Target list.</li>
 
<li>Select the operator that you would like to apply to the attribute from the list. The available operators are determined by the data type of the selected attribute.</li>
 
<li>Select the operator that you would like to apply to the attribute from the list. The available operators are determined by the data type of the selected attribute.</li>
<li>Do one of the following to specify the value(s) that the attribute must meet:</li>
+
<li>Depending on field data type either:</li>
*Enter a value in the text field beside the Operator list.
+
<ol type="a">
*If the selected attribute has predefined values such as those available from a list of options, you can click the '''Options''' button to view the available options.  
+
<li>Enter a value in the text field beside the Operator list.
*If you would like to wait until you run the search to specify the value, check the '''Prompt''' checkbox.  
+
<li>If the selected attribute has predefined values such as those available from a list of options, you can click the '''Options''' button to view the available options.  
<li>Repeat steps 6–10 for each criterion you would like to add to the search definition.</li>
+
<li>If you would like to wait until you run the search to specify the value, check the '''Prompt''' checkbox.  
 
</ol>
 
</ol>
 +
<li>Repeat steps 4–8 for each criterion you would like to add to the search definition.</li>
  
 
{{note|To change the order of a single criterion or an AND/OR group in the search definition (except the first criterion and group combination), select the criterion or group and click the [[Image:UpBlueArrow.png | Move Up]] or the [[Image:DownBlueArrow.png | Move Down]] button.}}
 
{{note|To change the order of a single criterion or an AND/OR group in the search definition (except the first criterion and group combination), select the criterion or group and click the [[Image:UpBlueArrow.png | Move Up]] or the [[Image:DownBlueArrow.png | Move Down]] button.}}
  
{{note|To remove a criterion or an AND/OR group from the search definition, select the criterion or group and click the [[Image:EcksButton.png | Delete]] button.}}
+
{{note|To delete a criterion or an AND/OR group from the search definition, select the criterion or group and click the [[Image:EcksButton.png | Delete]] button.}}
  
<ol start="12">
+
<li>To execute the search, click the '''Run''' button.
<li>When you have finished adding criteria to the search definition, do one of the following:</li>
+
<li>If you would like to Save the Search definition:
*To save the search definition, click the '''Save''' button.  
+
<ol type="a">
*To execute the search, click the '''Run''' button.
+
<li>Enter a name for the search definition in the Name field.</li>
 +
<li>Enter a description of the search definition in the Description field.</li>
 +
</ol>
 
</ol>
 
</ol>
  
 
{{NavBox HowTo Search}}
 
{{NavBox HowTo Search}}
  
[[Category:COO]]
+
[[Category:NAA]]

Latest revision as of 08:10, 18 March 2019

  1. Either from the Saved Searches window select the FieldTemplateIcon.png or in the Search menu → Advanced Search.
  2. From the Search Target list, select the item that you would like to search.
  3. The search condition defaults to OR. You can change the search condition by clicking the condition in the search criteria pane and selecting OR or AND from the list.
  4. Changing the AND/OR Condition

    Changing the AND/OR Condition

  5. To add a criteria to the search definition, click the Add button.
  6. A row is added to the criteria pane. Each row in the pane represents a criterion. A criterion is comprised of an attribute, operator, and value.
  7. Criterion Components

    Criterion Components

  8. Select the attribute on which you would like to apply a constraint from the leftmost list. The attributes in the list are determined by the item selected from the Search Target list.
  9. Select the operator that you would like to apply to the attribute from the list. The available operators are determined by the data type of the selected attribute.
  10. Depending on field data type either:
    1. Enter a value in the text field beside the Operator list.
    2. If the selected attribute has predefined values such as those available from a list of options, you can click the Options button to view the available options.
    3. If you would like to wait until you run the search to specify the value, check the Prompt checkbox.
  11. Repeat steps 4–8 for each criterion you would like to add to the search definition.
  12. Note.jpg To change the order of a single criterion or an AND/OR group in the search definition (except the first criterion and group combination), select the criterion or group and click the Move Up or the Move Down button.
    Note.jpg To delete a criterion or an AND/OR group from the search definition, select the criterion or group and click the Delete button.
  13. To execute the search, click the Run button.
  14. If you would like to Save the Search definition:
    1. Enter a name for the search definition in the Name field.
    2. Enter a description of the search definition in the Description field.