Filtering Out Records

graphics/microsoft92.gif

Instead of displaying all the records in a table, you can use a filter to display only those records that you want to see. You can display records based on a specific value in one field or on multiple values in multiple fields. You can filter by selecting the field value on which to base the filter in Datasheet view or by using Filter By Form to help you create more complex filters involving multiple field values. After you apply a filter, Access displays only those records that match your specifications. You can remove a filter to return the datasheet to its original display.

Filter a Table by Selection

graphics/one_icon.jpg

Display the table in Datasheet view.

graphics/two_icon.jpg

Right-click the field value on which you want to base the filter.

graphics/three_icon.jpg

Click Filter By Selection. Notice that the bottom of the Table window tells you the number of records matching your filter criteria. Also, the notation FLTR in the status bar indicates that a filter is currently in effect.

graphics/13inf03.jpg

Clear a Filter from a Table

graphics/one_icon.jpg

Display the table with the filter in Datasheet view.

graphics/two_icon.jpg

Click the filtered table, and then click the Remove Filter button on the Table Database toolbar.

graphics/13inf04.jpg

Did You Know?

You can save a filter as a query . Display the filtered table in Datasheet view, click the Records menu, point to Filter, and then click Advanced Filter/Sort. Click the Save As Query button on the Filter/Sort toolbar, type a name , and then click OK.



Show Me. Microsoft Office 2003
Show Me Microsoft Office 2003
ISBN: 0789730073
EAN: 2147483647
Year: 2002
Pages: 418

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net