Query Statement Properties Dialog Box: Criteria Tab

Use this tab to further refine the results of a query.

Criteria
Displays the criteria expression, with one criterion per line and nested terms indented. You can use this table to view, add, modify, or delete query criteria. Also, you can change the order of the criteria, group elements in a criteria statement, and modify query operators.
Picture of New Button
Click to open the General tab of the Criterion Properties dialog box, which you can use to add a new query criterion. If the Criteria table is not empty, the criterion will be ANDed with the currently selected expression. If nothing is selected, the criterion will be ORed with the last expression in the table.
Picture of Properties Button
Click to open the General tab of the Criterion Properties dialog box, which you can use to modify the properties of a query criterion.
Picture of Delete Button
Click to remove the selected criterion from the query criteria.
Picture of Group Brackets button
Click to group the selected elements of the query statement. Group parentheses are inserted around the selected statement.
Picture of UnGroup Brackets button
Click to ungroup the selected elements of the query statement. The group parentheses are removed from the selected statement. Also, you can select and remove a single group parenthesis, and the matching group parenthesis will also be removed.
Picture of And/Or button
Click to change a selected OR in the criteria to an AND, and vice versa. For more information about logical operators, see About Logical Operators.
Picture of Not button
Click to add a NOT operator to the query criteria. You must select the elements of the query statement to which you want to apply this operator. The selected portion of the query statement that is enclosed in group parentheses and the NOT operator are added to the preceding line. You can also use this button to remove a selected NOT operator (the group parentheses are removed automatically). For more information about logical operators, see About Logical Operators.
Show Query Language
Opens the Query Statements dialog box to display the query in Query Language view. You can work in Query Language view to compose or edit a query manually using WBEM Query Language (WQL) commands.

Other tabs in this dialog box: General, Joins

Related Topics

Topic Link

Modify How Query Results Are Displayed

Topic Link

About Queries

Topic Link

About Query Elements

Topic Link

Using Queries to Locate Resources Overview