Exploring Microsoft Access
Chapter 3
Objectives (1 of 2)
• Describe types of reports
• Describe views in Report window
• Describe similarities between forms and reports with respect to controls
Objectives (2 of 2)
• Use design grid to create and modify a select query
• Explain multiple criteria rows to implement ‘AND’ & ‘OR’ conditions in a query
Overview
• Information is data arranged in a useful format
• Convert data to information with queries and reports
Report Types
• Columnar report
– Simplest type
– Lists every field for every record in a single column
• Tabular report
Anatomy of a Report
Report Wizard
• Easiest way to create a report • Specify the table or query
• Select one or more fields
• Select layout (columnar/ tabular) • Select a style
Report Print Preview
Report Header
Page Header
Report Design View (1 of 2)
• Bound Controls
– Data source is a field in the table/query
• Unbound Controls
– Has no data source
– Used to display titles, labels, lines, rectangles, and graphics
• Calculated Controls
Report Design View
(2 of 2)Report Header
Page Header
Detail Section
Page footer
Introduction to Queries
• Query provides the resulting records from a question
• Design grid: graphical tool used to develop queries
Dynaset
• Looks and acts like a table
• Is a dynamic subset of a table
• Allows for entry, updating and deletion of records
Creating a Query
• Select query
• Query window views
Query Selection Criteria
• AND condition • OR condition
• Relational operators • Between function
Select Query Design View
Table
Select Query Dynaset
Grouping Records
• Use report anatomy to group records • Grouping allows calculations like:
Crosstab Queries
Listing of all Majors
Action Queries
• Enables table updates. Four types: • Update: Changes multiple records
• Append: Adds records from one table to another
• Delete: deletes records that meet a criteria • Make-table: Creates a new table from
Chapter 3 Summary (1 of 2)
• Data refers to facts about a record
• Information is data arranged in a useful format
• Report prints and displays information from a database
Chapter 3 Summary (2 of 2)
• Query displays records that meet a criteria • Grouping records by a field for summaries • Action queries modify records