- Click Apply Filter on the toolbar.
Notes
- When you apply a filter to a datasheet, Microsoft Access also applies filters you created in any subdatasheet within it.
- Access can apply a filter automatically when you open a form if you set the form's OnOpen property to a macro that uses the ApplyFilter action or to an event procedure that uses the ApplyFilter method of the DoCmd object.
- If you create a filter in a form, subform, datasheet, or subdatasheet that already contains a filter from a previous working session, the new filter replaces the previous one.
Apply an existing query as a filter on a form or datasheet
While you can save only one filter for each form, subform, datasheet, or subdatasheet, you can use queries that you've already created as additional filters.
- Click in the form, subform, datasheet, or subdatasheet, you want to filter.
- Switch to the Filter By Form window or the Advanced Filter/Sort window.
- On the toolbar, click Load From Query .
- In the Filter box, select a query, and then click OK.
- Click Apply Filter on the toolbar.
Apply an inherited filter in a report
- Open the report in Design view, or if the report is already open, make sure it is selected.
- Click Properties on the toolbar to display the report's property sheet.
- In the FilterOn property box, click Yes.
Note Access can apply a filter automatically when you open a report if you set the report's OnOpen property to a macro that uses the ApplyFilter action or to an event procedure that uses the ApplyFilter method of the DoCmd object. You can also automatically apply a filter to a report using the OpenReport action or its corresponding method.
Apply an existing filter to a data access page in Page view
You can reapply a filter that you created during the current working session.
-
Open a data access page in Page view.
-
Do one of the following:
-
On an ungrouped page, click Filter Toggle on the record navigation toolbar so that it is selected.
- On a grouped page, expand the group that you want to filter, and then click Filter Toggle on the record navigation toolbar for that group so that the button is selected.
-
Note This procedure doesn't apply to a Microsoft Office PivotTable Component, Spreadsheet Component, or Chart Component. These features can be filtered independently from the rest of the data on the data access page, and may also support additional filtering capabilities. For more information, click Help on that component's toolbar.
Reapply a filter to retrieve the most current set of records
If you're working with filtered data in a multiuser (shared) database, you may want to reapply the filter occasionally to see which records have been added, deleted, or changed since you opened the form or datasheet and applied the filter.
- With the filtered records displayed in a form, subform, datasheet, or subdatasheet, click Apply Filter/Sort on the Records menu.