Chapter 17
Take Charge with Action Queries
In This Chapter
Updating multiple records that match specific criteria
Adding records from one table into another table
Deleting multiple records that match specific criteria
Ever have to update multiple records in a table with the same information? How about copying data from a linked spreadsheet into an existing Access table? What about deleting a certain group of records from a table? If you answered yes to any of these questions, then you’ve come to the right place. Action queries perform a specific task on a group of records in a table, all in one fell swoop, so you don’t have to add or update each record manually. (Now, try to control your excitement! If you ever get into the situation where an action query is needed, I know you’ll thank me for writing this.)
The three most common action queries are
- Update: This query updates the value in a field for the records you select via the Criteria row. For example, if an employee keys in the wrong order date of 11/2/2015 on 25 orders, an update query would allow you to easily update all 25 order dates to the correct date of 11/3/2015.
- Append: Use this query type to add records from one table ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access