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 type | What it does | Example |
|---|---|---|
| Select | Finds and shows records that meet your criteria | Open orders for one customer |
| Parameter | Asks the user for a value each time it runs | “Enter start date” for a date range |
| Totals | Groups records and calculates sums, counts or averages | Sales by month |
| Crosstab | Summarizes data in a grid, like a pivot table | Sales by product (rows) and month (columns) |
| Action | Changes data: update, append, delete or make a new table | Mark 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
- Go to Create > Query Design.
- Add the tables you need. If relationships are set up, Access joins them automatically.
- Double-click fields to add them to the grid at the bottom.
- Set Sort to Ascending or Descending where useful.
- Enter conditions in the Criteria row.
- Select Run (the red exclamation point), then save with a clear name, like qryOpenOrders.
Criteria Examples You Can Copy
| To find | Type in Criteria |
|---|---|
| An exact value | "Open" |
| Text containing a word | Like "*smith*" |
| A date range | Between #1/1/2026# And #12/31/2026# |
| Values above a number | >1000 |
| Blank fields | Is 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
- In Query Design, select Totals (the Σ button) on the ribbon.
- A Total row appears in the grid.
- Set fields you want to group by to Group By, such as CustomerName.
- 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
- Select the query (or table) the report should show. Basing reports on queries gives you more control.
- Go to Create > Report for an instant report, or Create > Report Wizard to pick fields, grouping and sorting.
- Choose a layout and finish.
- 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.
- Open the report in Layout or Design View.
- Select Group & Sort on the ribbon.
- Choose Add a group and pick the field, such as CustomerName.
- 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
- Queries are slow or totals don’t add up (Access maintenance and support)
- You need automated reports or emailing with VBA (VBA debugging and enhancement)
- Your data is outgrowing Access (Access to SQL Server migration)
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.
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.
