When you need to delete old records from your database, you could do a find and delete for each individual record. Or, you can take advantage of Microsoft Access' Delete query to delete them all at once.
For example, say you work for a nonprofit organization and decide you can save on your monthly mailings costs if you remove from your mailing lists all records of donors who did not respond to any mailing after 1/01/03. To delete these records at one time, follow these steps:
- Open the Customer database and make a copy of the Customer Information Table.
- In the Customer database window, select the Customer Information Table and choose Query from the New Object button's drop-down list in the Database toolbar.
- Double-click Design View.
- Drag the Last Donation Date field to the design grid.
- In the Last Donation Date field enter <1/01/03.
- Click the Query button in the Query toolbar and select Delete Query.
- Click Run on the Query Design toolbar.
- Click Yes.
To view the results, open the Customer Information table from the Customer database Window.
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.