Deleting Groups of Rows
You’re not likely to keep all the data in your database forever. You’ll probably summarize some of your detailed information as time goes by and then delete the data that you no longer need. You can remove sets of records from your database using a delete query.
Testing with a Select Query
After you have copied all the old contact event and contact product data to the archive tables, you might want to remove this information from the active tables. This is clearly the kind of query that you will want to save so that you can use it again and again. You can design the query to calculate automatically which records to delete based on the current system date and a month parameter, as you did in the append queries.
As with an update ...
Get Microsoft® Access® 2010 Inside Out now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.