Designing Reports   «Prev  Next»
Lesson 4 Creating a report with a wizard
Objective Create a report with the Report Wizard.

Creating Report with Wizard

AutoReports will only meet your needs when you need to present the data in one table or query. If you want to combine data from multiple tables, group data or create summary calculations, then you really need to use the Report Wizard. The Report Wizard is very powerful and is nearly always the right way to get started with any multi-table report[1]. It allows you to select fields from multiple tables and queries, to create summary calculations and choose a formatting scheme. To start the Report Wizard, display the Report view of the database window and double-click the Create Report By Using Wizard option. The following Simulation takes you through the creation of a report with the Report Wizard.

In the next lesson you will learn about navigating the report, and then you will get a chance to create your own report with the Report Wizard.

Steps to Use Access Report Wizard

  1. In this Simulation we will create a report that shows client contact information and the projects done for each client. After you have chosen all the fields you need from the Clients and Project tables,
    click the Next button to move to the next window of the wizard.
  2. This window asks you how you'd like to group your data, and allows you to choose between the two tables from which you selected fields. For this report it makes sense to group by the Clients table, because one client may have multiple projects. This way you'll see the client information once, followed by all the projects for that client.
    Click Next to see the next window.
  3. This window allows you to add headings to your report. For instance, if you wanted to group clients by state, you could select State as an additional grouping level. For this report select Company as a grouping level. Although this will not group the data in the report differently, it will add a nice heading for each company, which will make the report easier to read. Double-click the Company field to add it as a grouping level. Click Next to see the next window.
  4. The right side of the window changes to indicate the new grouping of the report. Click Next to see the next window.
  5. This window allows you to sort your report. The report will automatically be sorted by grouping fields -- so in this case, the report will be sorted by company name. However, you can choose how to sort the detail lines (the project lines). Use the drop-down list on the first grouping field option and choose Due Date to sort project by due date.
  6. Once you've chosen a field to sort by, the next sorting option becomes available so that you can choose a secondary sort field. In this case, one is not needed. Notice the AZ button to the right of the Sort Field option--this allows you to choose ascending or descending sort order. Also on this window is the Summary Options button. This button displays a dialog box where you can choose how to summarize the data in the report. Click the Summary Options button to see the options for calculations for this report.
  7. The fields that are selected for summarizing depend on the fields and grouping selected for the report. The two fields that Access has chosen here are Yes/No fields, since Yes is stored as a 1 and No is stored as a 0 (zero), Access can perform calculations with those values. However, they won't produce useful results for this report. The Show box enables you to choose whether to show all your data, or just the summary calculations. The Summary Options dialog box can be a very powerful tool for creating calculations in your report when you are reporting numerical data and this report contains mainly text data.
    Click OK to return to the sorting window of the wizard.
  8. Click the Next button to see the next window.
  9. This window allows you to choose a layout for your report. Click the Outline 1 layout for this report. The sample report on the left will change to reflect the new layout.
  10. Click the Next button to accept the other settings on this window and move to the next window.
  11. Nearly done, honest! This window asks you to choose a style for the report, and shows a sample of the style on the left. My favorite, Compact, is already selected. Click Next to see the final window.
  12. The final window of the wizard asks you the usual things, notably what you'd like to name the object that the report has selected. Type the name Projects by Client as the name of the report. Then click the Finish button to see the report created by the wizard.
  13. You can only see a portion of the report here, but Access has created a nice report with the company name in a larger font, the company contact information under that, and then, in tabular format, the project information from the Projects table. Because you chose to sort by Due Date, the Due date is the first field displayed in that section.


Creating Reports by Using Wizard

You can divide the content of an Access report into two general categories:
  1. information derived from records in one or more tables, and
  2. everything else.
The everything else category includes the title, page headers and footers, introductory and explanatory text, and any logos and other graphics. Just as you can create a form that includes all the fields in a table by using the Form tool, you can create a report that includes all the fields by using the Report tool, which is located in the Reports group on the Create tab. But such a report is merely a prettier version of the table, and it does not summarize the data in any meaningful way.
You are more likely to want to create a report based on only some of the fields, and that is a job for the Report wizard.
  • Report Wizard The Report wizard leads you through a series of questions and then creates a report based on your answers. So the first step in creating a report is to consider the end result you want and what information you need to include in the report to achieve that result. After you provide that information, the wizard creates a simple report layout and adds a text box control and its associated label for each field you specify.
    For example, you might want to use a Products table as the basis for a report that groups products by category. When you give the grouping instruction to the wizard, it first sorts the table based on the category, and then sorts the products in each category. In the space at the top of each group (called the group header), the wizard inserts the name of the category.

[1] multi-table report:A multi-table report in MS Access combines data from multiple related tables into a single report. This allows you to display information from different sources in a cohesive and organized manner, such as customer information and their corresponding orders.

SEMrush Software