Filtering Information by Using a FormThe Filter By Form command, available from the Advanced Filter Options list, provides a quick and easy way to filter a table based on the information in several fields. When you invoke this command within a table, Access displays a Look For tab containing a filtering form that looks like an empty datasheet. However, each of the blank cells is actually a combo box containing a list of all the entries in that field. You can select a filter criterion from the list, or enter a new one. Then you click the Toggle Filter button to display only the records containing your selected criteria.
Using Filter By Form on a table that has only a few fields, such as the one shown above, is easy. But using it on a table that has a few dozen fields gets a bit cumbersome, and it is simpler to find information by using the Filter By Form command in the form version of the table. When you invoke this command within a form, Access filters the form in the same way it filters a table.
In a filtered form, you move between records by clicking the navigation buttons at the bottom of the form window. Tip Filter By Form offers the same features and techniques whether you are using it in a form or a table. Because defining the filter is sometimes easier in a form and viewing the results is sometimes easier in a table, you might consider creating a simple form based on the table, filtering the data within the form, and then switching to Datasheet view to display the results. In this exercise, you will locate a record by using the Filter By Form command.
USE the 03_FilterForm database. This practice file is located in the Chapter06 subfolder under SBS_Access2007. OPEN the 03_FilterForm database.
CLOSE the Customers form and the 03_FilterForm database. |