Version

menu_open

Creating Advanced Queries Using Criteria Groups

There may be situations where a basic query that uses one operator is not specific enough to find exactly what you are looking for. In these cases, you can create more advanced searches using criteria groups. Criteria groups are a subset of criteria with their own separate operator control. This allows you to create a query with different types of operators. For example, you can create a query that searches for all objects with names that start with the letter P AND that also contain either the number 1 OR 0.

You can use one or more criteria groups within the same query to find specific objects or other elements within your project. Criteria groups can even be nested within other criteria groups to create very sophisticated queries.

To create a criteria group within a query:

  1. Load a query into the Query Editor.

  2. In the Browser list, double-click the Group (And/Or) option under the Criteria Grouping section.

    A new criteria group is added to the Criteria list.

  3. In the browser list, add one or more criteria to the criteria group by doing the following:

    Select the criteria group in the Criteria list.

    Double-click a criterion to add it into the Criteria group.

    Type or select a condition for the criterion. You can use the wildcard operator (*) to replace part of a word when you are typing a criterion.

    [Note] Note

    To re-order the criteria within a group, simply drag the criterion to the new location. Once a criterion has been added to a group, it can't be dragged outside the group.

  4. From the Criteria Group Operator list, select one of the following:

    And to return results for which all your criteria within the group are true.

    Or to return results for which at least one of your criteria within the group are true.

    [Note] Note

    To add another criterion outside the group, click outside the group to deselect it, and then double-click the criterion in the Browser list.

  5. Click Run Query.

    The query results are displayed. You can sort these results by clicking each column heading.

    [Tip] Tip

    When you select an entry in the Results list, it automatically gets loaded into the Transport Control and is ready for playback. You can right-click a selection of entries in the Results list to access a series of commands, such as Edit, Show in Multi Editor, Show in Schematic View, and Convert. You can double-click any entry in the Results list to display it in the Property Editor. You can also drag project elements from the Results list to the Project Explorer. For example, you can drag one or more sound objects from the Results list into an Actor-Mixer or container within the Project Explorer.

  6. To keep the results of your query for use in another application, click Copy to Clipboard.

  7. To clear your criteria and search results, click Clear.


Was this page helpful?

Need Support?

Questions? Problems? Need more info? Contact us, and we can help!

Visit our Support page

Tell us about your project. We're here to help.

Register your project and we'll help you get started with no strings attached!

Get started with Wwise