How to create a report in access


In this chapter, we will be covering the basics of reports and how to create reports. Reports offer a way to view, format, and summarize the information in your Microsoft Access database. For example, you can create a simple report of phone numbers for all your contacts.

  • A report consists of information that is pulled from tables or queries, as well as information that is stored with the report design, such as labels, headings, and graphics.

  • The tables or queries that provide the underlying data are also known as the report's record source.

  • If the fields that you want to include all exist in a single table, use that table as the record source.

  • If the fields are contained in more than one table, you need to use one or more queries as the record source.

Example

We will now take a simple example to understand the process of creating a very simple report. For this, we need to go to the Create tab.

How to create a report in access

Before clicking on the Report button to create a basic report, make sure the proper query is selected. In this case, qryCurrentProjects is selected in your navigation pane. Now click on the Report button, which will generate a report based on that query.

How to create a report in access

You will see that the report is open in Layout view. This provides a quick way to adjust the size or width of any of your fields that you see on the report. Let us now adjust the column widths to make everything fit in a better way.

How to create a report in access

Scroll down and adjust the page control at the bottom.

How to create a report in access

This was a very quick way to create a very simple report. You could also make minor changes and adjustments from the report design view.

How to create a report in access
  • Just like forms, a report is made up of a variety of different sections.
  • You have the detail section, which is where all of your data lives for the most part.
  • You also will see a page header and a page footer section; these appear at the top and at the bottom of every single page in your report.

Let us now change the Title of the report and give it another name.

How to create a report in access

Click on the save icon to save your report.

How to create a report in access

You will get the above dialog box.

Enter a name for your report and click Ok. If you want to view what this report will actually look like, in Print Preview, you can go back to the View button and click on Print Preview to see what this report would look like when printed either on paper or as a PDF.

How to create a report in access

Using the tools on the lower right-hand corner, you can zoom in or zoom out. You also have some buttons on the Print Preview tab that appear automatically when you switch to Print Preview. In the zoom section, you've got a view for one page, two pages; or if you have a longer report, you can view four pages at once, eight pages or twelve pages. You can also adjust simple things such as the size of the paper that you are using to print, the margins for your report, the orientation, the number of columns, page set up, etc. And that is how you can create a very quick simple report using the Report button on the Create tab.

Create a Report Using Report Design

Report Design is another method for creating a quick report in Access. For this, we need to use the Report Design View button, which is like the Form Design button. This will create a blank report and open it directly to the Design View, allowing you to change the control source and add fields directly to the Design View of the report.

Let us now go to the Create tab and click on the Report Design button.

How to create a report in access

It will open a blank report or an unbound report, meaning this report is connected to no other object in our database.

How to create a report in access

On the Design tab in the Tools group, select the Property Sheet. This will open up the Property pane.

How to create a report in access

On the Data tab, assign a record source to this report, to connect it to a database object as in the following screenshot.

How to create a report in access

Select qryLateProjects from the drop-down and now, the next step is to go through and add some fields to this report by clicking on Add Existing Fields list button on the Design tab.

How to create a report in access

Select the fields as in the above screenshot.

How to create a report in access

Drag the fields to you report as in the above screenshot. Go the Arrange tab, and in the Table group, you have a couple of options to choose from.

How to create a report in access

There is a stacked layout and a tabular layout, which is a layout that is very similar to a spreadsheet. Let us select the tabular layout.

How to create a report in access

You can see that it moves all of the labels up to the page header area. These labels will appear only once at the top of every page and the data query will repeat for every record in the Details section. Now, you can go through and make some adjustments to make your ProjectName field wider.

How to create a report in access

As you can see in the above screenshot, there is a lot of space between Detail section and Page Footer.

Let us drag the Page Footer up to reduce the space as in the following screenshot. We will now go to the Design tab and click on the View button and choose Report View.

How to create a report in access
How to create a report in access

You can now see that some project names are not complete; you can adjust this with either the design view, or you can use the layout view to do that.

How to create a report in access

That is how we create a simple report just from the Design View.

Microsoft Access Reports visualize data for presentations, printable formats, management reports, or simple summaries of what the tables represent from the database. Using the Report Wizard, you can quickly create a basic report.

Instructions in this article apply to Access for Microsoft 365, Access 2019, Access 2016, Access 2013, and Access 2010.

Paul Bradbury / Caiaimage / Getty Images

The Access Report Wizard allows you to choose the fields that appear in your report, how data is grouped or sorted, and more.

  1. Open the database and go to the Create tab.

  2. In the Reports group, select Report Wizard.

  3. The Report Wizard opens.

  4. In the Tables/Queries list, choose the table on which you want to base the report.

  5. In the Available Fields list, double-click a field name to add it to the report or select the field and click the single right arrow to move it to the Selected Fields list.

    Double-clicking a field in the Selected Fields list moves it back to Available Fields.

  6. Select Next when you finish adding fields.

  7. Choose the fields by which you want to sort the records and select Next.

  8. In the Layout section, select the layout in which you want the report to appear. Options include Columnar, Tabular, and Justified. You can choose Portrait or Landscape orientation, as well.

    A preview of the selected layout style appears on the left.

  9. Select Next to continue.

  10. Enter a title for the report.

  11. Choose Preview the report to see the completed report in Report View when finished or select Modify the report's design to open the report in Design View and select Finish.

    Go to Home > View to open the report in a different view.

Thanks for letting us know!

Subscribe

Tell us why!