Sams Teach Yourself Microsoft Office 2003 in 24 Hours
- Table of Contents
- Copyright
- About the Author
- Acknowledgments
- We Want to Hear from You!
- Introduction
- Who Should Read This Book?
- What This Book Does for You
- Can This Book Really Teach Office 2003 in 24 Hours?
- Conventions Used in This Book
- Part I. Working with Office 2003
- Hour 1. Getting Acquainted with Office 2003
- Part II. Processing with Word 2003
- Hour 2. Welcome to Word 2003
- Hour 3. Formatting with Word 2003
- Hour 4. Managing Documents and Customizing Word 2003
- Hour 5. Advanced Word 2003
- Part III. Computing with Excel 2003
- Hour 6. Understanding Excel 2003 Workbooks
- Hour 7. Restructuring and Editing Excel 2003 Worksheets
- Hour 8. Using Excel 2003
- Hour 9. Formatting Worksheets to Look Great
- Hour 10. Charting with Excel 2003
- Part IV. Presenting with Flair
- Hour 11. PowerPoint 2003 Presentations
- Hour 12. Editing and Arranging Your Presentations
- Hour 13. PowerPoint 2003 Advanced Features
- Hour 14. Animating Your Presentations
- Part V. Organizing with Outlook 2003
- Hour 15. Communicating with Outlook 2003
- Hour 16. Planning and Scheduling with Outlook 2003
- Part VI. Tracking with Access 2003
- Hour 17. Access 2003 Basics
- Hour 18. Entering and Displaying Access 2003 Data
- Hour 19. Retrieving Your Data
- Using Data Filters
- Using Queries
- Summary
- Q&A
- Hour 20. Reporting with Access 2003
- Part VII. Combining Office 2003 and the Internet
- Hour 21. Office 2003 and the Internet
- Hour 22. Creating Web Content with Word, Excel, Access, and PowerPoint
- Part VIII. Publishing Eye-Catching Documents
- Hour 23. Publishing with Flair Using Publisher 2003
- Hour 24. Adding Art to Your Publications
- Part IX. Appendixes
- Appendix B. Business Contact Manager and Office Extras
- Part X. Bonus Hours
- Hour 25. Using FrontPage 2003 for Web Page Design and Creation
- Hour 26. Managing Your Web with FrontPage
Using Data Filters
A filter is a subset of data from a table. Suppose that you want to see only certain records from a table, such as all customers who are past due. Instead of hiding the records that you don't want to see, create a filter. The filter removes unwanted records from view. The records don't go away, and you don't have to unhide the records later (as you do when you actually hide records by right-clicking over a column or row in the Datasheet view and selecting Hide Columns or Hide Row). A filter works similar to a short-term record hider, putting certain records out of the way while you work with the filtered data.
Access supports three filtering approaches:
- Filter by Selection— Filters data based on selected table data
- Filter by Form— Enables you to choose the data fields that you want Access to use for filtering
- Advanced Filter/Sort— Controls advanced filtering options from the Access menu bar
The easiest and most common filter options are Filter by Selection and Filter by Form, which the following two sections describe.
Filter by Selection
Filter by Selection works by example. Suppose that you want to display only those table records that contain a specific field value; for example, you need to work only with customer records from Brazil. If your customer table contains a Country field with scattered Brazil entries, you can filter out all those records that do not contain Brazil in their Country fields.
You can practice working with filters by opening the sample Northwind Traders database that comes with Access. (You'll locate this northwind.mdb file in your Office Samples folder.) When you first open the Northwind Traders database, a splash screen will appear; a splash screen acts as a title window that appears when you first start an application, and you can designate splash screens for databases that appear when you open them. Close the splash screen by clicking the window's OK button, and perform the following steps to design a filter that filters out records that don't contain Brazil:
- Display the Datasheet view for the Customers table. To do so, click the Tables entry inside the Database window and double-click the Customers table.
- Locate one record with Brazil in the Country field. You might have to click the horizontal scrollbar to see the Country field from the Datasheet view.
- Double-click the single field value that contains Brazil to select that value. If you select only the first part of the field instead of selecting the entire field, such as the letter B, you filter all records that do not start with B.
- Click the toolbar's Filter by Selection button. Access filters out all records that don't match your selected criteria. Figure 19.1 shows a filtered Datasheet view that displays only records containing a Brazil entry in their Country fields. Before the filter, this Datasheet view held more than 90 records. By locating the sample field and clicking once, you just changed the display to those records that only contain Brazil for the Country field value.
Figure 19.1 Filter by Selection filters out all unwanted records.
- To return to the full Datasheet view, click the toolbar's Remove Filter button.
As you can see, a filter removes unwanted records; Access filters those unwanted records from view.
You do not first have to locate a customer record from Brazil to create the previous list's filter. If you right-click any field value in the table and then type a value in the shortcut menu's Filter for text box, Access applies the Filter by Selection command to your entered filter value. Therefore, you can right-click on the Country column, select Filter By, and then enter Brazil to more quickly create the same filter that the previous steps created.
For now, remove the filtering by clicking the Remove Filter button on the toolbar.
To Do: Perform a Filter by Form
Filter by Form enables you to filter by multiple values rather than by only one value. You can apply a Filter by Form from both the Datasheet and Form views.
Perform these steps to use Filter by Form:
- Click the Filter by Form button. Access displays a single blank record. If you have recently created a filter, that previous filter's selection value appears in the single row that displays. You can erase the value and enter a different one.
- Scroll to the field you want to filter by or click on the empty field.
- Click the field's drop-down arrow to display the list. Access displays a scrolling drop-down list of every value (without duplicates) that appears in that field within the current table.
- Select the value by which you want to filter.
- Optionally, click another empty field value and select from that field's drop-down list of available values. You can select as many filtering field values as you need. Unlike the Filter by Selection, which enables you to filter only by one field value, Filter by Form enables you to filter by several fields.
- Click the Apply Filter button to display the filtered records.
- Click the Remove Filter button (before you begin filtering, this button is called the Apply Filter button) when you are ready to return to the full-record view.
By filtering on one or more fields, you can easily display only those records you want to see. The filters do not actually remove records from your tables, but they help display the data you need to see at the moment.
If you filter by a date field, Access surrounds the filtered value with pound signs (#). You often see pound signs around dates, such as #7/4/2005#; this designation enables Access to distinguish the date from a formula that might use the forward slash (/) as the divide symbol.
Using Queries | Next Section

Account Sign In
View your cart