Professional Documents
Culture Documents
Database
Fields used in the query are selected from You can run the query at any
the field list and added to the design grid. time by clicking the Run button.
You can use the mouse to click You can specify fields other than the
and drag fields to the design grid. primary key to use as sort fields.
Fields can be
added to the
query but not
displayed in the
results sheet by
removing the
check mark from
the Show: field.
Depending on the type of data that you specify as a sort field, the data will
be sorted according to the data type as shown in the following figure.
To sort only one field, click in the desired field to select it, and then click the Sort
Ascending or Sort Descending button on the toolbar. To sort multiple fields, you
must specify them in the query design grid.
You can use a comparison operator, such as the greater-than sign (>), to specify that
you want to see only records that have a value greater then the value specified. This
design grid shows a datasheet view with a criteria set to show records that have a
wage value greater than or equal to 17.
Note that this design grid also shows that the StartDate field had criteria
supplied from another run of the query. This condition needs to be
deleted, or otherwise, both conditions would be applied to this query.
The And
condition.
The Or
condition.
In the Filter window, you select only the fields that will be involved in the filtering and
sorting specifications. The Filter window works very much like the query design grid.
You can specify filtering and sorting criteria for the Advanced Filter.
The figure below shows the aggregate functions that can be used in a crosstab query.
Choose an Access
object from this pane.
Expression Builder adds your calculated field to the query design grid. You can then
assign it a name, which will display in query datasheet view when the query is run.