Chapter 11. Modifying Data with Action Queries

In Chapter 9, you learned how to insert, update, and delete single rows of data within a datasheet. In Chapter 10, you discovered that you can use queries to select the data you want—even from multiple tables. You also learned under what conditions you cannot update a field in a query. Now, you can take the concept of queries one step further and use action queries to change, insert, create, or delete sets of data in your database quickly.

The four types of queries you’ll study in this chapter are

Note

The examples in this chapter are based on the tables and data in HousingDataCopy.accdb and ContactsDataCopy.accdb on the companion CD included with this book. These databases are copies of the data from the Housing Reservations and Conrad Systems Contacts sample applications, respectively, and they contain the sample queries used in this chapter. The query results you see from the sample queries that you build in this chapter might not exactly match what you see in this book if you have changed the sample data in the files.

Delete query