Difference between revisions of "Nested Search"

From IMSMA Wiki
Jump to: navigation, search
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
In the Advanced Search it is also possible to build complex searches that contains several parts with the operators [[And Versus Or | AND and/or OR]]. This type of search is referred to as '''nested search'''.
+
In the Advanced Search it is also possible to build complex searches that contain several parts with the operators [[And Versus Or | AND and/or OR]]. This type of search is referred to as '''nested search'''.
  
 
[[Image:Nested search equation.png|400px|center]]
 
[[Image:Nested search equation.png|400px|center]]
  
 +
<ol>
 +
<li>Start with adding the rows with the criteria for the first bracket</li><br/>
 
[[Image:Nested search part1.png|700px|center]]<br/>
 
[[Image:Nested search part1.png|700px|center]]<br/>
<ol start="1">
+
<li>To add a new condition group click the '''OR/AND''' button. The new criteria group is shown right indented.</li><br/>
<li>Start with adding the rows with the criteria for the first bracket</li><br/>
 
 
[[Image:Nested search part2.png|700px|center]]<br/>
 
[[Image:Nested search part2.png|700px|center]]<br/>
<li>To add a new condition group click the '''OR/AND''' button.
+
<li>Continue to add criterion rows to the new group by clicking on the [[Image:FieldTemplateIcon.png]] button. The criteria '''must''' be indented to be part of the criteria group.
: The new criteria group is shown indended one step right.</li><br/>
+
: In this example ''Country structure'' from Location will be used for both rows in the new group
 +
: Since the ''Province'' should be either A or B the operator '''OR''' will be used inside the criterion group.</li>
 
[[Image:Nested search part3.png|700px|center]]<br/>
 
[[Image:Nested search part3.png|700px|center]]<br/>
<li>Continue to add criterion rows to the new criteria group by clicking on the [[Image:FieldTemplateIcon.png]] button.
+
</ol>
: In this example ''Country structure'' from Location will be used for both the criterion rows in the new criterion group
 
: Since the ''Province'' should be either A or B the operator '''OR''' will be used inside the criterion group.</li>
 
</ol><br/>
 
  
 
[[Image:Criteria rows.png|700px|center]]<br/>
 
[[Image:Criteria rows.png|700px|center]]<br/>
 +
[[Image:Criteria group.png|700px|center]]
 +
A blue box around the criterion rows denotes the group.
  
[[Image:Criteria group.png|700px|center]]<br/>
+
{{Note | If you have problems putting the criteria inside a criteria group:
: Which criterion rows that is included in a criteria group is clearly distinguish by both the rows being indented and a blue box around the criteria group. The blue box is shown when the user clicks on the operator (in this example '''OR'''.
+
# mark AND/OR criterium
 +
# click on Add.
 +
[[Image:Nested criteria issue.png|700px|]]}}
 
{{NavBox HowTo Search}}
 
{{NavBox HowTo Search}}
  
[[Category:COO]]
+
[[Category:NAA]]

Latest revision as of 07:59, 18 March 2019

In the Advanced Search it is also possible to build complex searches that contain several parts with the operators AND and/or OR. This type of search is referred to as nested search.

Nested search equation.png
  1. Start with adding the rows with the criteria for the first bracket

  2. Nested search part1.png

  3. To add a new condition group click the OR/AND button. The new criteria group is shown right indented.

  4. Nested search part2.png

  5. Continue to add criterion rows to the new group by clicking on the FieldTemplateIcon.png button. The criteria must be indented to be part of the criteria group.
    In this example Country structure from Location will be used for both rows in the new group
    Since the Province should be either A or B the operator OR will be used inside the criterion group.
  6. Nested search part3.png

Criteria rows.png

Criteria group.png

A blue box around the criterion rows denotes the group.

Note.jpg If you have problems putting the criteria inside a criteria group:
  1. mark AND/OR criterium
  2. click on Add.

Nested criteria issue.png