3 4
When you’re creating an action query, you’ll first want to consider protecting your data. An action query can change data. In most cases, these changes can’t be undone, which means that an action query can potentially destroy data. There are two ways to protect your data, one more complex (but more secure) than the other. The quick way is to simply switch to Datasheet view after setting up your action query (and before running it). You’ll be able to see the records selected for modification, so you can verify that the query is selecting the right records.
When you’re working with a delete, an update, or an append query, for even more assurance that your update won’t go wrong, make a copy of the table you want to modify before you run the action query, and then run the query. Open the table with modified data, and verify that the modifications are correct. If the action query doesn’t work correctly, delete the modified table, rename the copy using the name of the original table, and then change the query as needed.
There’s no need to create a backup table to check the results of running a make-table query. A new table is created each time you run a make-table query, so if the output table isn’t right, just modify the query as needed and run it again.
To create a copy of a table, follow these steps:
Figure 10-1. Enter a name for your copied table in the Paste Table As dialog box.
caution