You just created a query that adds a new field to your Employee table. The new field calculates the date when each employee will by fully vested in the company pension plan. Now you want a listing of next year's newly vested employees.
Instead of going back into Query Design View and changing the criteria for the Vested_Date field, you can filter the results right in the Query Datasheet view. Follow these steps:
- Run the query.
- Find a record that has a vested data in the year 2007.
- Select 2007 in that field.
- Right-click the table.
- Select Filter By Selection.
The query results will now list only those records whose employees have a 2007 vested date. To return the list to the original query results, click the Remove Filter button in the default Query datasheet toolbar.
Miss a tip?
Check out the Microsoft Access archive, and catch up on our most recent Access tips.
Help users increase productivity by automatically signing up for TechRepublic's free Microsoft Office Suite newsletter, featuring Word, Excel, and Access tips, delivered each Wednesday.