Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.

Post on 03-Jan-2016

239 views 8 download

Transcript of Chapter 5-1. Chapter 5-2 Chapter 5: Database Forms and Reports Introduction Forms Reports.

Chapter 5-1

Chapter 5-2

Chapter 5:Database Forms and Reports

Introduction

Forms

Reports

Chapter 5-3

Forms

3 Major Sections Heading section Detail section Navigation bar

3 Advantages Avoid accidental replacement of data All data entry points on one screen Can be customized

Chapter 5-4

Form Example

Chapter 5-5

Creating Simple Forms

Enter the appropriate settings in the Form Wizard dialog boxes

Customize the Form Form Controls Bound Controls Unbound Controls Property Sheet Window Control Source Property

Chapter 5-6

Form Wizard Screen Shots

Chapter 5-7

Form Wizard Screen Shots

Chapter 5-8

Form Wizard Screen Shots

Chapter 5-9

Property Sheet Window

Chapter 5-10

Creating Simple Forms

Refine your Design Toggle between run mode and design mode Continue to adjust the design as needed

Reset the Tab Order Create a custom order for the objects

Chapter 5-11

Subforms - Showing Data from Multiple Tables

A form within a form

Displays data related to the information on main form

Two Methods to Creating Subforms When using the Form Wizard After the creation of the main form

Chapter 5-12

Form with a Subform

Chapter 5-13

In Access, you can use a form to perform all of the following tasks except:

A. Create a new record in a specific table

B. Change the information in an existing record of a table

C. View the information from many different records sequentially

D. All of these are tasks that can be performed with an Access form

Study Break #1

Chapter 5-14

In Access, you can use a form to perform all of the following tasks except:

A. Create a new record in a specific table

B. Change the information in an existing record of a table

C. View the information from many different records sequentially

D. All of these are tasks that can be performed with an Access form

Study Break #1 - Answer

Chapter 5-15

A form control that does not change from record to record is probably:

A. A design-time control

B. A bound control

C. An unbound control

D. A mistake

Study Break #2

Chapter 5-16

A form control that does not change from record to record is probably:

A. A design-time control

B. A bound control

C. An unbound control

D. A mistake

Study Break #2 - Answer

Chapter 5-17

If the form onscreen appears with grid lines and you can view the Toolbox, this form is most likely in:

A. Design mode

B. Run mode

C. Sleep mode

D. Wizard mode

Study Break #3

Chapter 5-18

If the form onscreen appears with grid lines and you can view the Toolbox, this form is most likely in:

A. Design mode

B. Run mode

C. Sleep mode

D. Wizard mode

Study Break #3 - Answer

Chapter 5-19

Reports

Provide custom information to database users

Can be simple documents or complex outputs

Are strictly outputs, do not allow for input of data

Chapter 5-20

Report Example

Chapter 5-21

Report Components

Chapter 5-22

Creating Simple Reports

Launch the Report Wizard

Select the Underlying Data Source and Desired Fields

Indicate any Grouping Levels

Chapter 5-23

Report Wizard Screen Shots

Chapter 5-24

Report Wizard Screen Shots

Chapter 5-25

Report Wizard Screen Shots

Chapter 5-26

Report Wizard Screen Shots

Chapter 5-27

Report Wizard Screen Shots

Chapter 5-28

Creating Simple Reports

Indicate any Sort Fields and Select the Desired Report Format

Name the Report

Modify the Design of the Report as Desired

Chapter 5-29

Report at Design Time

Chapter 5-30

Additional Items

Calculated Fields System must calculate the field based on

other data fields Recomputed when needed

Grouped Data Useful organizations of information Control break

Chapter 5-31

Report with Calculated Fields

Chapter 5-32

Calculated Fields with Grouped Data

Chapter 5-33

Which of these best identifies the underlying data source for an Access report?

A. Only tables

B. Only queries

C. Both tables and queries

D. Tables, queries, and forms

Study Break #4

Chapter 5-34

Which of these best identifies the underlying data source for an Access report?

A. Only tables

B. Only queries

C. Both tables and queries

D. Tables, queries, and forms

Study Break #4 - Answer

Chapter 5-35

Which of the following is not a typical part of a printed report using Access?

A. Report header

B. Report footer

C. Navigation bar

D. Detail line

Study Break #5

Chapter 5-36

Which of the following is not a typical part of a printed report using Access?

A. Report header

B. Report footer

C. Navigation bar

D. Detail line

Study Break #5 - Answer