Sampling dialog

This dialog allows you to apply filters to a database table which is to be used in a sample list. It thus allows you to control which records in the table appear in the sample list. It is reached by clicking sampling in the external data details dialog.

sampling_dialog

There are two ways to define the filter; either using the GUI interface or by typing a SQL script. Once you have finished defining your filter, click OK.

The following options are available:

Defining the filter by GUI

This method allows you to define up to four logical conditions that define which records are returned from the selected table.

To add the first logical condition, click .... The filter condition dialog appears, where you can define the condition. Once you have defined the condition, you can add further conditions by selecting the logical operator (AND/OR) that joins the two conditions, then  clicking the second ... buttons to define the condition, and so on, up to four conditions.

The logical conditions are grouped into pairs, so the first pair are evaluated, then the second pair, and then the results of the two pairs are evaluated together. For example, if the first pair evaluates true and the second pair evaluates false, then the combined pairs will evaluate as follows:

The following options are available when using the GUI interface:

Defining the filter by script

The following options are available when using the script interface:

Create your own Knowledge Base