Activity 3 Filtering records In this activity, we are going to learn how to filter records by using...

12
Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter by Form and Advanced Filter. Filter by Selection 1.Start Microsoft Access and open the database file ch10_02.mdb. 2.Open the table ‘DEPARTING FLIGHTS’ in the Datasheet View. 3.Select one of the cells under the column ‘To’, which contains value ‘Beijing’. The selected value is used as the criterion for filtering. 217 records are displayed.

Transcript of Activity 3 Filtering records In this activity, we are going to learn how to filter records by using...

Page 1: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

Activity 3

Filtering recordsIn this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter by Form and Advanced Filter.Filter by Selection1. Start Microsoft Access and open the database file

ch10_02.mdb.2. Open the table ‘DEPARTING FLIGHTS’ in the Datasheet

View.3. Select one of the cells under the column ‘To’, which

contains value ‘Beijing’. The selected value is used as the criterion for filtering.

217 records are displayed.

Page 2: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

Activity 3

Filtering records

4. Select ‘Records’ ‘Filter’ ‘Filter By Selection’ to filter the records. Alternatively, click the ‘Filter By Selection’ button on the toolbar.

Only those records with the field ‘To’ containing the value ‘Beijing’ are shown in the table.

After filtering, only 12 records are displayed.

Page 3: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

5. Select ‘Records’ ‘Remove Filter/Sort’ to remove the filter. Alternatively, click the ‘Remove Filter’ button on the toolbar to remove the filter. Then, all the records in the table will be displayed again.

All the 217 records are displayed.

Activity 3

Filtering records

Page 4: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

Filter by Form1. Select ‘Records’ ‘Filter’ ‘Filter By Form’ to set up a

new record filter. Alternatively, click the ‘Filter By Form’ button on the toolbar.

2. The last criterion is initially shown in this form. Select ‘Jakarta’ from the pull down menu.

Activity 3

Filtering records

Page 5: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

3. Click the pull down menu under the column ‘Airline’ and then select ‘Longman Air’.

Activity 3

Filtering records

Page 6: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

4. Select ‘Filter’ ‘Apply Filter/Sort’ to apply the filter. Alternatively, click the ‘Apply Filters’ button on the toolbar. One record will be displayed. Fill in the spaces below with your filtered result.

A

B C

A: _________________ B: _________________ C: _________________05:05 LG 050 Hong Kong

Activity 3

Filtering records

Page 7: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

Advanced Filter1. Select ‘Records’ ‘Filter’ ‘Advanced Filter/Sort’ to set

up a new record filter.2. The criterion of the last filter is initially

shown in the new window. Change the criterion from ‘Jakarta’ to ‘Shanghai/Pudong’ in the field column ‘To’.

Activity 3

Filtering records

Page 8: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

3. Move the cursor over the second column as shown below. Click to select the column ‘Airline’.

4. Press the ‘Delete’ key to remove the column from the filter form.

Activity 3

Filtering records

Page 9: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

5. Select the field ‘Scheduled Time’ to add it as the second criterion.

6. For the second criterion, select ‘Ascending’ from the pull down menu as the sorting criterion.

Activity 3

Filtering records

Page 10: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

7. Enter the criteria ‘>#10:00:00# and <#15:00:00#’ to specify the value of ‘Scheduled Time’ from 10:00:00 to 15:00:00. Then, click the ‘Apply Filters’ button on the toolbar.

Activity 3

Filtering records

Page 11: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

8. Read the result of filtering and complete the table below.

9. Save the database file and exit Microsoft Access.

11:4011:15

MU 590KA 800

Activity 3

Filtering records

Page 12: Activity 3 Filtering records In this activity, we are going to learn how to filter records by using the three different ways: Filter by Selection, Filter.

8. Read the result of filtering and complete the table below.

9. Save the database file and exit Microsoft Access.

11:4011:15

MU 590KA 800

Activity 3

Filtering records