Are you looking to clean up your Microsoft Access database by removing unwanted records? A delete query is the most efficient way to delete multiple records at once. In this guide, we'll walk you through how to create a delete query in Microsoft Access, perfect for the 2026 version.
What is a Delete Query?
A delete query is an action query that removes records from one or more tables in your Access database. Unlike manually deleting records one by one, a delete query allows you to delete many records based on specific criteria, saving time and reducing errors.
How to Create a Delete Query
Follow these steps to create a delete query in Microsoft Access 2026:
- Open your database in Access and go to the Create tab.
- Click on Query Design in the Queries group.
- In the Show Table dialog, select the table(s) containing the records you want to delete and click Add, then Close.
- On the Design tab, click the Delete button (the icon with a red X). This changes the query type to a delete query.
- In the query design grid, double-click the fields you want to use as criteria for deletion. For each field, you can enter criteria under the Criteria row.
- For example, to delete all records where the "Status" field is "Inactive", add the "Status" field and enter
"Inactive"in the Criteria cell. - Once you have set your criteria, click Run (the red exclamation mark) on the Design tab.
- A warning dialog will appear asking you to confirm the deletion. Click Yes to proceed.
Important: Delete queries permanently remove records. Always back up your database before running a delete query.
Example: Deleting Records from an Orders Table
Suppose you have an "Orders" table and you want to delete all orders placed before January 1, 2025. Here's how:
- Create a new delete query and add the "Orders" table.
- Add the "OrderDate" field to the design grid.
- In the Criteria cell, enter
<#1/1/2025#. - Run the query. All orders with dates earlier than January 1, 2025 will be deleted.
Pro Tips
- Use a select query first: To see which records will be deleted, create a select query with the same criteria first. Run it to preview the records. Then switch to a delete query.
- Delete related records: If your tables have relationships, you can delete records from multiple tables by adding all related tables to the query and using join lines.
- Undoing a delete: Once records are deleted, they cannot be undone unless you have a backup. Keep regular backups of your database.
For more Microsoft Access tutorials, check out the The How-To Learning Academy channel.
"A delete query is a powerful tool for database maintenance. Use it wisely!"
This article is based on the video "How to Create a Delete Query in Microsoft Access [2026 Guide]" by The How-To Learning Academy.