lecture access – reports. what’s a report? way to analyze your data –groups –sum / average...

23
Lecture Access – Reports

Upload: isabella-armstrong

Post on 12-Jan-2016

217 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Lecture

Access – Reports

Page 2: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

What’s a Report?

• Way to analyze your data– Groups

– Sum / Average

• Paper or HTML output(or screen preview)

• Based on live data (as your data changes, so does your report)

Page 3: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Why Use a Report?

• Sales Analysis• Commission Information• “Personalized” Letters• Customer Invoices• Service Tags• Mailing Labels• Tax Forms

Page 4: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Creating a Report: Access 2007

-Or Select Query/table first, and then click Report Wizard

Page 5: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Report Wizard Options

Page 6: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Report will open when Wizard finishes

Page 7: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Report Design

• Control settings:– Size and Location– Font and Font Size– Color, Background, and Borders

• Add Logos and Images• Change Record Grouping and

Sorting

objects in a report and form are called

"controls"

Page 8: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Design Mode

Record Detail

Page Footer

Report Header

Page Header

Report Footer

Page 9: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Design <-> Preview

Page 10: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Improving Design

Page 11: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Grouping Records

• Report details (records) can be grouped by any field in the query:– Date - Customer– Product - Etc

• Use Grouping to make your reports clearer or provide useful information

• Be sure to SORT within the group!

Page 12: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

A simple report that lists the commissions employees earn on each sale. This could be basedoff a query with more meaningful, filtered results.

Creating a Group

At the bottom of the Design Window, CLICK: Add a Group

Page 13: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Sorting with the Group

Once your report is grouped , click on “Add a Sort”, so that your records are sorted properly within the Group.

Page 14: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Previewing the Group

Page 15: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Adding a Sum to a Group

To add value to our report, let’s add a Sum of the OrderPrice for each employee.

To add Sum functions for Order Price, SELECT OrderPrice object

CLICK: SUM Function (Sigma button) on the Design Ribbon to total the orders for each employee

Page 16: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Adding a Count Function to a Group

To count the numbers of Orders sold for each Employee:Drag in a new TextBoxTYPE: =Count([OrderPrice])

Page 17: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Report with Summary Info

Page 18: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Employee Name Header

Page 19: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Formatting

• Labels• Lines• Fit to one page

Page 20: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Mailing Labels

Page 21: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Mailing Labels: con’t

CHOOSE: Font Style from the next window and click Next

Page 22: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Mailing Labels: con’t

ADD Your fields to the label template. Be sure to press ENTER in between adding fields into the prototype label, so that each field appears on its own line

CLICK: FINISH and save your Report as Mailing LabelsCLICK: OK if you get any message prompts regarding printing margin errors.

Page 23: Lecture Access – Reports. What’s a Report? Way to analyze your data –Groups –Sum / Average Paper or HTML output (or screen preview) Based on live data

Customized Labels