Contents

# Query Wizard

The Query Wizard helps you to design a database query. The saved query can be called later, either from the graphical user interface, or using the automatically created SQL language command.

## Query Wizard - Field Selection

Specifies the table to create the query, and specifies which fields you wish to include in the query.

## Query Wizard - Sorting Order

Specifies the sorting order for the data records in your query.

## Query Wizard - Search Conditions

Specifies the search conditions to filter the query.

## Query Wizard - Detail or Summary

Specifies whether to display all records of the query, or only the results of aggregate functions.

This page is only displayed when there are numerical fields in the query that allow the use of aggregate functions.

## Query Wizard - Grouping

Specifies whether to group the query. The data source must support the SQL statement "Group by clauses" to enable this page of the Wizard.

## Query Wizard - Grouping Conditions

Specifies the conditions to group the query. The data source must support the SQL statement "Group by clauses" to enable this page of the Wizard.

## Query Wizard - Aliases

Assigns aliases to field names. Aliases are optional, and can provide more user-friendly names, which are displayed in place of field names. For example, an alias can be used when fields from different tables have the same name.

## Query Wizard - Overview

Enter a name of the query, and specify whether you want to display or to modify the query after the Wizard is finished.

### Back

View the selections in the dialog made in the previous step. The current settings remain unchanged. This button can only be activated from page two on.

### Next

Click the Next button, and the wizard uses the current dialog settings and proceeds to the next step. If you are on the last step, this button becomes Create.

### Finish

Applies all changes and closes the wizard.

### Cancel

Clicking Cancel closes a dialog without saving any changes made.

Query Wizard - Field selection