Specifying Advanced Search Criteria
SmarTeam - Web Editor enables you to use logical operators to define more complex search criteria from multiple classes, based on the attributes in these classes as well as the attributes in the relationship (link) between these classes.
The relationship between the attributes is made up of a set of logical expressions (lines).
Between the lines there is an 'Or' as a Boolean condition (Line 1 or Line 2 or Line 3...)
Each line comprises up to three logical conditions with an 'And' statement between them ('logical condition for Class A' and 'logical condition for Class B' and 'logical condition for the Link class'). One or two conditions may be blank (None).
For example, if you want to find assemblies whose ID is greater than 30, or parts whose ID is less than 50 or assemblies whose name contains the text Screw and parts whose size is less than 10, you can set up the following conditions:
.Note: It is the behavior of the Advanced search feature that Query by Example (QBE) results are presented as a standard search results grid that displays end result objects without the full results path, e.g., SmarTeam - Editor.
To specify advanced search criteria:
- Click
.
The Class Selection page appears.
- To select the first class to participate in the advanced search, click the Browse button (...) next to the First Class field.
The Class Picker window appears.
- Select a class from the tree.
The class is automatically entered in the First Class field.
- Repeat this process for the Second Class field.
- In the Link Class field, the default link type for these classes is automatically entered. For example, Part-Document Link. To select a different link type for these classes, click the Browse button (...)
- Click Next.
The Search Criteria page appears.
- Click Edit to select the criteria for each class type, and/or for the link type.
- Click Add to add the line to the criteria and open a new line.
- Click
to run the search.
- Click
to select the attributes to be shown in the Search Results screen. If you do not select attributes, the default attributes are used.