Performing a Query
Specifying the Sample Query Using the Dialog Box

After you specified the Query in the Query Wizard and completed your entries by clicking Finish, the New Query Properties dialog box is opened. You can use this dialog box to specify the query further. You can also use this dialog box to edit an existing query later. In this case, the dialog box is named Properties of Query "xyz." To open the dialog box, select the query, and then select Properties on the context or File menu.

The dialog box provides the four tab pages:

 Caution:

This edited SQL statement is used whenever the query is performed, as long as the Always use native SQL check box remains selected.

Enter a report variable in the Formula field. Click the '...' button to open the Edit Result Formula dialog box and select a formula. (For more information about the report variables and their categories, refer to Report Categories). Enter an operator. (For information about which SQL operators are supported, refer to  Selecting Search Criteria for Samples and/or Sequences.) Finally, type a reference value in the Value field.

 Tip:

It is not possible to access User-defined Columns by clicking the '...' button. Enter the formula for the user-defined column directly in the Formula field:

For user-defined columns from the sample list of the Browser, enter:

smp.x

where x is the name of the user-defined column.

For user-defined columns from the peak table of the QNT Editor, enter:

peak_tab.user_x

where x is the name of the user-defined column.

For examples of how to enter the query using the dialog box, refer to  Examples (Dialog Box).