Difference between revisions of "Nested Search"

From IMSMA Wiki
Jump to: navigation, search
Line 4: Line 4:
  
 
<ol>
 
<ol>
<li>Start with adding the rows with the criteria for the first bracket</li>
+
<li>Start with adding the rows with the criteria for the first bracket
[[Image:Nested search part1.png|700px|center]]
+
[[Image:Nested search part1.png|700px|center]]</li>
<li>To add a new condition group click the '''OR/AND''' button.
+
<li>To add a new condition group click the '''OR/AND''' button. The new criteria group is shown right indented.
: The new criteria group is shown indended one step right.
 
 
[[Image:Nested search part2.png|700px|center]]</li>
 
[[Image:Nested search part2.png|700px|center]]</li>
<li>Continue to add criterion rows to the new group by clicking on the [[Image:FieldTemplateIcon.png]] button.
+
<li>Continue to add criterion rows to the new group by clicking on the [[Image:FieldTemplateIcon.png]] button.  
 
: In this example ''Country structure'' from Location will be used for both rows in the new 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.
 
: Since the ''Province'' should be either A or B the operator '''OR''' will be used inside the criterion group.

Revision as of 14:01, 24 March 2015

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
    Nested search part1.png
  2. To add a new condition group click the OR/AND button. The new criteria group is shown right indented.
    Nested search part2.png
  3. Continue to add criterion rows to the new group by clicking on the FieldTemplateIcon.png button.
    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.
    Nested search part3.png

A blue box around the criterion rows denotes the group.

Criteria rows.png
Criteria group.png