Upload
quana
View
47
Download
2
Embed Size (px)
DESCRIPTION
CS1100: Access Reports. Microsoft Access Report Construction Created By Martin Schedlbauer [email protected]. Reports. Reports are formatted output of the results of queries. Access has two ways to create reports: Custom Reports Report Wizard - PowerPoint PPT Presentation
Citation preview
Microsoft Access 1
CS1100: Access ReportsMicrosoft Access Report Construction
Created ByMartin [email protected]
CS1100
Microsoft Access 2
Reports
• Reports are formatted output of the results of queries.
• Access has two ways to create reports:– Custom Reports– Report Wizard
• In both cases, you need a query that contains the information you want to put into the report.
CS1100
Microsoft Access 3
Reports
• You can format and print tables and queries in Datasheet view, but reports have two advantages over other methods:– Reports can compare, summarize, subtotal and
total large sets of data– Reports can be created to produce attractive
invoices, presentation materials, purchase orders, etc.
CS1100
Microsoft Access 4
Reports
• Can define up to 10 grouping criteria to separate levels of detail
• Can define separate headers and footers for each group
• Perform calculations within a group or across groups
CS1100
Microsoft Access 5
The OrderInvoice Report
CS1100
Microsoft Access 6
The Query for the Report
• What fields do we need for this report?
CS1100
Microsoft Access 7
Parameterized Query
• To allow user input for a query value:– specify a variable that has a name different from
any of the field names
CS1100
Microsoft Access 8
Report Wizard
CS1100
Microsoft Access 9
Grouping Data in Reports
CS1100
Microsoft Access 10
Summary OptionsClick Summary Options to display summary values in the group footers for any numeric fields in the Detail section
CS1100
Microsoft Access 11
Report Design
CS1100
Microsoft Access 12
Rearranging the Report
• Move items to where you want them.• Each item is a field plus a label.• May need to “disconnect” label from field, so
that label can be deleted.• Fields can contain “expressions”:
CS1100
Microsoft Access 13
The OrderInvoice Report
CS1100
Microsoft Access 14
Text vs. Controls
• Note that there are two icons for adding “text” – they are NOT the same:
• The Text Box allows you to add a field from the query; must be bound to a field
• The Label allows you to add free-form text
CS1100
Microsoft Access 15
Adding Section Footers
• To add (or remove) a footer (or header) for a section:
CS1100
Create a Pivot Chart from an Access Table in Access or Excel
CS1100 Pivot tables and charts 16
In Excel, From the Data Menu, choose “From Access”
Find your Access file and choose the table or query to use in your pivot table.
Microsoft Access 17
Summary
• Reports allow information technology professionals to provide data in a more readable format to users.
• The Access Wizard creates reports based on queries.
• Queries can have parameters.• The Report Designer allows reports to be
designed using simple “drag-and-drop”.
CS1100