-
Step 1
Open a Microsoft Access database. You can create a new one as well, if need be.
To create a new database, open Microsoft Access, go to "File" and choose "New." Click "Blank Database." Choose a name for your database to finish the creation process. -
Step 2
Click "Queries" in the database window. If you're creating a new database, you will need to create at least one table and one query before continuing. Use the wizards in both the "Tables" and "Queries" sections to quickly create basic tables and queries.
-
Step 3
Single-click any query. Click "Design View." This will open the query so you can edit it if necessary.
-
Step 4
Click the red exclamation point ("!") on the query toolbar above the design view window. This will execute your query and display your results. Update, Append and Delete queries will not display results. To see their results, open the table or tables the query was intended to edit to ensure the correct number of records is showing or if the proper edits have been made.
If your query has parameters, you will need to enter each parameter as it appears in order for the query to execute. -
Step 5
Double-click any query, as an alternative, to execute it.
-
Step 6
Execute a query through a button, form or report close, or another event in addition to the above process. This will depend solely on each individual database. Right-click anywhere on your form or report, and choose "Properties" to add the run query code to the necessary event.
Queries can be executed by almost any event in the properties in a form or report.







