Online Test Banks
Score higher
See Online Test Banks
eLearning
Learning anything is easy
Browse Online Courses
Mobile Apps
Learning on the go
Explore Mobile Apps
Dummies Store
Shop for books and more
Start Shopping

How to Run the Query Wizard in Access 2013

With Access' Query Wizard, you enter table and field information, and the Simple Query Wizard takes care of the rest. Here's how you create a query:

1

On a piece of paper, lay out the data you’d like in your query results.

A query returns a datasheet (column headings followed by rows of data), so make your layout in that format. All you really need are the column headings so you’ll know what data to pull from the database.

2

Determine the table location of each piece of data (column heading) from your paper.

Write down the table and field name that contain the data matching the column heading on the paper above the column heading.

3

In the Database window, click the Create tab on the Ribbon and then click the Query Wizard button from the Queries section.

The New Query Wizard dialog box appears, asking you what kind of Query Wizard you’d like to run. Choose Simple Query Wizard and click OK.

4

Choose the first table you want to include in the query.

You’ll use the Tables/Queries drop-down menu, which shows all the tables (and any existing queries) in your database. Click the down arrow next to the Tables/Queries drop-down menu. Click the name of the table or query to include in this query.

5

Select the fields from that table for your query.

For each field you want included in your query, click the name of the table or query to include in this query, and in the Available Fields list, double-click each field from this table or query that you want to include in the query you’re creating.

If you add the wrong field, just double-click it in the Selected Fields list. It will go back home. If you just want to start all over, click the double-left chevron (that’s what you call the symbol that looks like a less-than sign) and all the selected fields go away.

6

After you select all the fields, click Next.

If the wizard can determine the relationships between the tables you selected, a window appears. If you don’t see the window, not to worry. Access just wants you to name the query instead. Skip the next step.

If you include fields from two tables that aren’t related, a warning dialog box appears. The dialog box reminds you that all the selected tables must be related before you can run your query — and suggests that you correct the problem before continuing.

7

If the wizard asks you to choose between a Detail and a Summary query, click the radio button next to your choice and then click Next.

Detail creates a datasheet that lists all records that match the query. As the name implies, you get all the details from those records.

Summary tells the wizard that you aren’t interested in seeing every single record; you want to see a summary of the information instead.

f you want to make any special adjustments to the summary, click Summary Options to display the Summary Options dialog box. Select your summary options from the check boxes for the available functions — Sum, Avg, Min, and Max — and then click OK.

8

In the wizard page that appears, select a radio button for what you want to do next.

If you want to make your query snazzy: Select the Modify the Query Design option.

The wizard sends your newly created query to the salon for some sprucing up, such as the inclusion of sorting and totals.

If you want to skip the fancy stuff: Select the Open the Query to View Information option to see the Datasheet view.

The wizard runs the query and presents the results in a typical Access datasheet.

9

Type a title for your query in the text box and then click Finish.

The wizard builds your query and saves it with the title you entered; then Access displays the results.

  • Add a Comment
  • Print
  • Share
blog comments powered by Disqus
Advertisement

Inside Dummies.com

Dummies.com Sweepstakes

Win $500. Easy.