Creating Queries and Reports

Unlock the power of your data with Microsoft Access! Discover how to create dynamic queries that answer your specific questions and generate insightful reports that present your findings clearly. Whether you’re looking to filter records, calculate totals, or design visually appealing layouts, Access offers tools that have been refined over decades. Learn about the different types of queries, from Select to Action queries, and how to build reports that summarize your data effectively. Dive into our comprehensive guide and transform the way you manage and analyze your information—your journey to mastering Access starts here!

Table of Contents

Have an Access problem right now?

Short answer: Queries answer questions about your data; reports present the answers. Build a query with Create > Query Design: add tables, pick fields and enter criteria. Then base a report on that query with Create > Report or the Report Wizard, group and total it, and print or export it to PDF.

Queries and reports are where Microsoft Access shines. Its visual query builder and report designer have been refined for decades, and for complex filtering, totals and printable output, few tools are faster.

This is part three of our Access basics series. If you’re just starting, read Getting Started with Microsoft Access and Designing Access Tables and Relationships first; good queries depend on good tables.

The Main Types of Access Queries

Query typeWhat it doesExample
SelectFinds and shows records that meet your criteriaOpen orders for one customer
ParameterAsks the user for a value each time it runs“Enter start date” for a date range
TotalsGroups records and calculates sums, counts or averagesSales by month
CrosstabSummarizes data in a grid, like a pivot tableSales by product (rows) and month (columns)
ActionChanges data: update, append, delete or make a new tableMark all shipped orders as closed

Select queries are the ones you’ll use most. Most reports are built on them.

How to Build a Select Query

  1. Go to Create > Query Design.
  2. Add the tables you need. If relationships are set up, Access joins them automatically.
  3. Double-click fields to add them to the grid at the bottom.
  4. Set Sort to Ascending or Descending where useful.
  5. Enter conditions in the Criteria row.
  6. Select Run (the red exclamation point), then save with a clear name, like qryOpenOrders.

Criteria Examples You Can Copy

To findType in Criteria
An exact value"Open"
Text containing a wordLike "*smith*"
A date rangeBetween #1/1/2026# And #12/31/2026#
Values above a number>1000
Blank fieldsIs Null
Anything but one value<>"Closed"

Criteria on the same row combine with AND (all must be true). Criteria on different rows combine with OR (any can be true).

Calculated Fields

You can create new columns from existing ones. In an empty column of the grid, type a name, a colon, and an expression:

LineTotal: [Quantity]*[UnitPrice]
DaysOpen: Date()-[OrderDate]

This is better than storing totals in your tables; the result always stays correct when the underlying data changes.

Parameter Queries: Let Users Choose

Instead of a fixed date, put a prompt in square brackets in the Criteria row:

Between [Enter start date:] And [Enter end date:]

Each time the query runs, Access asks for the values. It’s an easy way to make one query serve many needs. For a polished version, point the criteria at controls on a form, like [Forms]![frmReportMenu]![txtStartDate].

Totals Queries: Summing and Counting

  1. In Query Design, select Totals (the Σ button) on the ribbon.
  2. A Total row appears in the grid.
  3. Set fields you want to group by to Group By, such as CustomerName.
  4. Set the numbers to Sum, Count, Avg, Min or Max.

For a grid that summarizes two ways at once, such as products by month, use Create > Query Wizard > Crosstab Query Wizard.

Action Queries: Changing Data in Bulk

Action queries change many records at once:

  • Update: change values, such as setting Status to “Closed” for shipped orders
  • Append: add records from one table to another
  • Delete: remove records that match criteria
  • Make Table: create a new table from query results

Choose the type in the Query Type group of the Query Design ribbon.

Back up first. Action queries can’t be undone. Run the query as a Select query first to see exactly which records it will affect. Note that Access blocks action queries in databases that aren’t trusted; if nothing happens, see Macros Blocked or Active Content Disabled.

How to Build a Report

  1. Select the query (or table) the report should show. Basing reports on queries gives you more control.
  2. Go to Create > Report for an instant report, or Create > Report Wizard to pick fields, grouping and sorting.
  3. Choose a layout and finish.
  4. Use Layout View to adjust column widths and spacing while seeing real data, and Design View for detailed changes.

Grouping and Totals

Grouping turns a flat list into a readable report, such as orders grouped by customer with subtotals.

  1. Open the report in Layout or Design View.
  2. Select Group & Sort on the ribbon.
  3. Choose Add a group and pick the field, such as CustomerName.
  4. Choose More to add totals, like a sum of LineTotal, in the group footer.

Printing and Exporting to PDF

Open the report in Print Preview, then choose PDF or XPS to save a PDF, or print directly. You can also export to Excel from the External Data tab.

Tips for Fast, Accurate Queries and Reports

  • Index fields you filter and sort on often, like dates and status. See Designing Access Tables and Relationships.
  • Only include fields you need; fewer fields means faster results.
  • Build reports on saved queries, so the logic lives in one place.
  • Name things clearly: qry for queries and rpt for reports.
  • Test with real data volumes. A query that’s instant with 100 records can crawl with 100,000.
  • If queries are slow over the network, the problem may be your setup, not the query. See Slow Over VPN and the 2 GB Limit.

Common Mistakes

  • Running action queries without a backup
  • Typing dates without # signs, which treats them as text or math
  • Putting criteria on the wrong rows, mixing up AND and OR
  • Basing reports directly on tables, then rebuilding filters in every report
  • Joining tables with no relationships, which multiplies rows and inflates totals

Access Reports vs Power BI

Access is excellent for formatted, printable reports: invoices, statements and monthly summaries. Power BI is better for interactive dashboards that many people view online, though sharing requires Power BI Pro licenses. Many businesses use both: Access or SQL Server for the data, Power BI for dashboards. For when to consider a bigger move, see When Microsoft Access Is Still the Right Tool.

When to Get Help

Need reports you can trust? Book a free diagnostic and we’ll look at your queries and reports with you.

Frequently Asked Questions

How do I create a query in Access?

Go to Create > Query Design, add your tables, double-click the fields you want, enter conditions in the Criteria row, then select Run and save the query.

What is a parameter query in Access?

A parameter query asks the user for a value each time it runs. Type a prompt in square brackets in the Criteria row, such as [Enter start date:].

How do I add totals to an Access report?

Open the report in Layout or Design View, select Group & Sort, add a group, then choose More and set a total, such as a sum, for the field you want.

How do I export an Access report to PDF?

Open the report in Print Preview and choose PDF or XPS, then pick a location and save.


Anthony Passeri, MBA, is the founder of Access Evolved and a certified Microsoft Access Expert with 21+ years of Access and relational database experience. He helps businesses keep critical Access databases running and modernize them to Power Platform or SQL Server. More about Anthony

Talk to an Access Expert

Not sure what this means for your database? Book a free diagnostic call. No sales pitch, just a straight conversation about what makes sense for your situation.

Book a Free Diagnostic

Phone: 623-267-5720

Email: info@accessevolved.com

Access Evolved | 19580 W Indian School Rd, Ste 105 #815, Buckeye, AZ 85396

Sources

The query and report steps reflect standard Microsoft Access features and Access Evolved’s own experience.

Related Reading

what can power apps do for your business

What Is Power Apps and What Can It Do for My Business?

Power Apps is a game-changing Microsoft tool that empowers businesses to create custom applications without the need for a software development team. Imagine transforming your outdated spreadsheets and paper forms
September 2, 2026
cost of power apps project

How Much Does a Power Apps Project Cost? A Plain-English Breakdown

Are you curious about the costs associated with developing a Power App? Whether you're considering a simple app for a specific task or a complex platform for your growing business,
August 5, 2026
does your access system need to be replaced?

Signs Your Microsoft Access Database Needs to Be Replaced

Is your Microsoft Access database slowing down or causing frustration? You’re not alone. Many businesses face challenges with their Access systems, but the solution isn’t always a complete overhaul. Discover
June 3, 2026
is ms access being replaced? when? By what?

Is Access Being Replaced?

Is Microsoft Access being replaced? The short answer is no. Microsoft continues to invest in Access, providing updates and new features, while also encouraging businesses to explore the Power Platform
April 9, 2026
Access Evolved Microsoft Access Consultant

10 Signs Your Business Is Ready for Power Apps

Is your business still relying on shared Excel files, paper forms, or email approvals? If so, it might be time to explore Power Apps! This powerful tool can transform your
June 30, 2026
how to to poof be gone ms access

5 Reasons to Ditch Microsoft Access (And What to Use Instead)

Are you still relying on Microsoft Access for your database needs? While it served its purpose well in the past, Access has significant limitations that could be costing your organization
June 23, 2026

Need Help With This?

Scroll to Top