Home » Microsoft Access » 09 - Forms and Queries
9
Adding a Filter to a Form
A filter can restrict or sort the information displayed in the form without creating a new query.
You can define a filter as:
- Filter by Selection
- Filter by Form
- Advanced Filter definition facility
Filter by Selection
This feature enables you to see all the rows containing a value matching the one in the Datasheet Grid.
- Select a complete value in a field.
- Only rows with completely matching values are displayed.
- Select the value Washington in the State column.
- Click Filter By Selection.
- If the filtering data you need is in several contiguous columns, click the first column.
- Hold Down the shift Key and click the last column to select all the data.
- Click Filter By Selection to see only those rows, which match the data in all the columns you selected.
Before selection
After selection
Filter By Form
To see rows which meet any of the several criteria:
- Click the Filter By Form.
- A datasheet appears without any data.
- If you have not previously defined filtering criteria, go to the bottom of window for Look For tab and Or tab.
- To define criteria for specific columns, select a value from the drop down list or type in search criteria.
- Each drop down list shows you all the unique values available for each field. This makes it easy to pick values and perform an exact comparison.