Sample Wildcard Query
Suppose you work in Human Resources, and you need to access the employee records for all employees in the Administration department (400) whose last names begin with letters in the last half of the alphabet. Your query might work something like this:
- Open the Employees form, from which you can access all employee personnel records.
- On the tool bar, click the Filter button, which retrieves all employee records to this form.
- Press Employees Query form. to display the
- Specify this information on the Primary Criteria
tab:
- With Last Name as the criteria, select > (Greater than) as the operator
- Specify M* in the adjacent value field.
- On the Additional Criteria tab, specify
this information in the three query criteria fields:
- From the first list, select Department.
- From the operator drop-down list, select = (Equals).
- From the adjacent value list, select 400, which is the Administration department.
- Click .
- Click Results grid. . All records that meet the specified criteria are retrieved and displayed in the
- To return these records to the parent multiview form (Employees), click .
- When prompted for confirmation, click .
Note: When
you click , tall retrieved records are
returned to the parent form, replacing whatever was previously displayed
in that form. You cannot pick and choose which records to return.