37
Microsoft ® Access ® 2010 Training Create reports for a new database

Microsoft ® Access ® 2010 Training Create reports for a new database

Embed Size (px)

Citation preview

Page 1: Microsoft ® Access ® 2010 Training Create reports for a new database

Microsoft® Access® 2010 Training

Create reports for a new database

Page 2: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Course contents• Overview: The end product

• Lesson: Includes eight sections

• Suggested practice tasks

• Test

• Quick Reference Card

Page 3: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Overview: The end product

In this course, you’ll learn how to create reports. Reports present information visually, help others understand your data, and answer critical business questions.

This is the sixth and final course in a series that teaches beginners how to use Access 2010.

Page 4: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Course goals• Create basic reports.

• Group and sort the data in a report.

• Add subtotals and other sums to a report.

• Create reports manually and with a wizard.

• Use Layout and Design views to change a report.

Page 5: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Reports, the easy way

The parts of a report: Page Header, Group Header, Detail, and Footer.

Your boss likes what you’ve done with the asset-tracking database, but she needs to present some information at a meeting, and she needs it in a hurry. It’s time to build reports.Reports are the end product of your database. They combine the raw facts in your database with enough information to give those facts meaning, and they present the results visually.

Page 6: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Reports, the easy way

The parts of a report: Page Header, Group Header, Detail, and Footer.

In Access, a report is made up of sections.

Header sections can appear at the top of a report, or in the case of Page Header sections, at the top of each page in the report. Report headers usually contain titles, and images such as company logos. Page headers usually contain column headings.

1

Page 7: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Reports, the easy way

The parts of a report: Page Header, Group Header, Detail, and Footer.

If you want to group the data in a report, you’ll see a Group Header. The section will list the fields on which you group your data. For example, if you need to see who repairs a given computer, you can group your data by repair technician.

2

3 The Detail section is the body of your report, the data your users need to see. All reports must have a detail section.

Page 8: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Reports, the easy way

The parts of a report: Page Header, Group Header, Detail, and Footer.

Footer sections can appear in several places. For example, you can create group footers that display sums, counts, or averages for a group of data. You can also create page footers that appear at the bottom of each report page and display elements such as page numbers.

4

Page 9: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Reports, the easy way

The parts of a report: Page Header, Group Header, Detail, and Footer.

The header and footer sections are optional. For example, if you don’t want to group your data, you don’t need group headers or footers. However, make sure your reports contain enough information to make them meaningful and easy to understand.

Page 10: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Start with a design

Examples of basic form designs.

So how do you make your reports meaningful and easy to understand? With a design. Start by deciding on the data you need to include in the report, and then on the sections you want in the report. For example, all reports need a detail section, but do you need a header? How about grouping? From there, you decide on a layout.

Page 11: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Start with a design

Examples of basic form designs.

Access provides two basic layouts – tabular and stacked – but you can arrange your data in almost any way you want.

Tabular layouts resemble spreadsheets. Use them when you need to present your data in a simple list format.Stacked layouts resemble the forms you fill out at a bank or when you buy something online. Use a stacked layout when your report contains too many fields to display in tabular form.

1

2

Page 12: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Start with a design

Examples of basic form designs.

Mixed layouts use elements from tabular and stacked layouts. For example, you can place some of the fields in a record on the same row, and stack other fields from the same record. In Access 2010, you create mixed layouts manually, using either Layout view or Design view.

After you finish your design, you have several options for creating the report. We’ll start with the Report tool.

3

Page 13: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a basic report

The steps for creating a basic report.

The Report tool is the easiest way to create a report. Like the Form tool that you saw in an earlier course, the Report tool automatically creates a report that is bound, or connected, to a single data source, either a table or query.

Page 14: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a basic report

The steps for creating a basic report.

In the Navigation Pane, select the table or query that you want to use as the data source for the report.

1

2 Click the Create tab, and in the Reports group, click Report. Access creates a report that includes all the fields in your data source. The report automatically uses the tabular layout, and if your data source contains enough fields, Access creates the report in landscape format.

Page 15: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a basic report

The steps for creating a basic report.

The report opens in Layout view, which gives you a chance to change it.

3

Page 16: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Group and sort data

Grouping and sorting data in a report.

One of the more powerful things you can do in a report is group and sort your data. For example, if you want to know which supplier provided a given set of computers, then grouping your assets by supplier can give you that information quickly and easily.

Page 17: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Group and sort data

Grouping and sorting data in a report.

You can group tabular or stacked reports.

Open your report in Layout view, and on the Design tab, in the Grouping & Totals group, click Group & Sort. The Group, Sort, and Total pane appears below your report.

1

2 In the pane, click Add a group, and then select the field by which you want to group your data. Access groups your data to reflect your choice.

Page 18: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Group and sort data

Grouping and sorting data in a report.

You can add 10 grouping levels to a report, and you can sort each level, if you need to.

If you want to sort your data, click Add a sort, select a field, and again Layout view shows you your changes.

3

Page 19: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Add sums to your report

The process for adding sums to a report.

In addition to grouping and sorting, you can add subtotals, grand totals, and other calculations to your reports.With your report still

open in Layout view, start the Group, Sort, and Total pane, click a grouping level, and then click More.

1

2 Locate the “totaled” field and click the arrow next to it.

Page 20: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Add sums to your report

The process for adding sums to a report.

Use the Totals dialog box to select the field you want to calculate, the type of calculation you want to use, such as a sum or average, and to set options such as subtotals and grand totals.

3

4 When you finish, your report displays the calculations.

Page 21: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a report from scratch

Using Layout view to change a report.

If you don’t like the results you get with the Report tool, you can use Layout view to build a report manually, a process that gives you more control. You drag fields from a list, arrange them to your liking, and group them.

Page 22: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a report from scratch

Using Layout view to change a report.

On the Create tab, in the Reports group, click Blank Report. Access creates a blank report and displays the Field List task pane.

1

2 In the Field List task pane, open the table you want to use as a data source, then drag fields to the report. Access automatically uses the tabular layout..

Page 23: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a report from scratch

Using Layout view to change a report.

If you want to use a different layout, highlight the fields in the report by clicking the Layout Selector, the cross in the upper-left corner of the layout, and then....

3

4 On the Arrange tab, in the Table group, click Stacked. Access rearranges the fields.

Page 24: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Create a report with the Report Wizard

The steps for using the Report Wizard.

The Report Wizard is a fast way to create a report with a large number of fields and a complex layout.

Click the Create tab, and in the Reports group, click Report Wizard.

1

2

3

Complete the wizard. As part of that, you select a data source, and then ...

Select the fields you want to use, grouping options, a style, and more.

Page 25: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Ways to change a report

Changing a report in Layout and Design views.

You can use Layout view or Design view to change a report. Layout view works best when you need to change the look and feel of a report. For example, you can rearrange fields, change their sizes, or apply a pre-made style.In contrast, Design view gives you control over every facet of your report. For example, you can add text boxes that display the date and time that you ran a report.

Page 26: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Ways to change a report

Changing a report in Layout and Design views.

To open a report in Layout view, go to the Navigation Pane, right-click the report, and click Layout View.

1

2 Use the commands in the Design, Arrange, Format, or Page Setup tabs. For example, on the Design tab, in the Themes group, click a visual theme to apply it to the report.

Page 27: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Ways to change a report

Changing a report in Layout and Design views.

Follow the same steps to open a report in Design view.

3

4 Once you’re there, you can insert a number of controls, such as check boxes or date-and-time controls.

Page 28: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Suggestions for practice1. Create a report with the Report tool.

2. Group and sort the report.

3. Add subtotals and grand totals to the report.

4. Use Design view to label your subtotals.

5. Add labels in Layout view.

6. Create a report from scratch.

7. Use the Report Wizard.

Online practice (requires Access 2010)

Page 29: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 1You can add as many as _____ levels of grouping to a report. (Pick one answer.)

1. Seven.

2. Five.

3. Ten.

Page 30: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 1

You can also specify sums, counts, and sort orders for each group.

You can add as many as _____ levels of grouping to a report.

Answer:

3. Ten.

Page 31: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 2All reports must contain which of the following? (Pick one answer.)

1. A title section.

2. A date/time section.

3. A detail section.

4. A footnote section.

Page 32: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 2

All reports must have a detail section. They’re meaningless, otherwise.

All reports must contain which of the following?

Answer:

3. A detail section.

Page 33: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 3You can add controls to a report when working in Design view. (Pick one answer.)

1. True.

2. False.

Page 34: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 3

You can add dates and times, logos, check boxes, and more.

You can add controls to a report when working in Design view.

Answer:

1. True.

Page 35: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 4The important thing to remember when designing reports is: (Pick one answer.)

1. They must be clear and easy to understand.

2. They must contain a date and time.

3. They must group data in some way.

4. They must use all the available report sections.

Page 36: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Test question 4

You can include as few or as many elements as you need to make the information clear.

The important thing to remember when designing reports is:

Answer:

1. They must be clear and easy to understand.

Page 37: Microsoft ® Access ® 2010 Training Create reports for a new database

Create reports for a new database

Quick Reference CardFor a summary of the tasks covered in this course, view the Quick Reference Card.