Filtering Events Using Queries
In addition to the criteria defined in the search filters, you can create your own query when searching for events.
About this task
To determine the storage location for extra queries that are created in this procedure, click . On Profile tab, click . Review the location for this folder and change it if necessary.
Remember to clear the BYOQ check box on the Options tab if you want to begin a new search in Trip Administration without using the query.
Procedure
- In the Trips view, click the Options tab.
-
In the View All Events frame, next to
BYOQ (Build Your Own Query), click the ellipsis button (…).
The Extra Query dialog box appears.
- In the Description field, type a description, which will be the file name for the query after it is saved.
- In the Comments field, type a comment about the query.
-
In the Extra Query field, type the query.
The Full Query field shows the current settings of Schedule Editor search filters in SQL format. You cannot edit the full query.
-
Click Test.
A message appears.
If the query is acceptable, click OK.
If the query is not acceptable, click OK. Correct or type a new query and click Test.
- Click Save.
- Optional: To create another query, click Clear and enter Description, Comments, and Extra Query information for the new query.
- Click Close.
- Below BYOQ, select the check box and click the query in the list.
-
Click the View tab.
The list of trips is automatically updated according to the query.