To create an advanced database query (indexes, filters, conditions, and command properties)
- Define the basic database query.
- Add an index to the query. Adding an Index to a Query
- Add a filter to the query. Adding a Filter to a Query
- Add a condition to the query. Adding a Condition to a Database Query
- Modify the command properties for the query. Modifying Database Query Command Properties
- Click Execute to test the query.
- Save the query.
- To make the query available to your VB or other application, select the text of the query and then select Copy from the Edit menu to place your query on the Windows clipboard.