19
1 Pasewark & Pasewark Microsoft Office XP: Introductory Course INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

Embed Size (px)

Citation preview

Page 1: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

1 Pasewark & Pasewark

Microsoft Office XP:Introductory Course

INTRODUCTORY MICROSOFT ACCESSLesson 3 – Creating and Modifying Forms

Page 2: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

2

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Objectives

Create and use forms. Modify forms. Create a calculated control on a form. Compact and repair a database.

Page 3: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

3

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Terms Used in This Lesson

Bound controlCalculated controlDetailForm headerForm footerUnbound control

Page 4: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

4

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Creating Forms

Form Wizard – makes the process easier by asking you detailed questions and then creates a form based on your answers.

AutoForm feature – automatically creates a form that displays all the fields and records of a database table.

Page 5: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

5

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Forms

Page 6: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

6

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Using the Form Wizard

Click the Forms button on the Objects bar. Click New and the New Form dialog box

appears. Choose Form Wizard. Choose the fields you want to appear on the

form. Choose the layout and style

for the form. Name the form.

Page 7: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

7

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

New Form Dialog Box

Page 8: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

8

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Using the AutoForm Feature

Click the Forms button on the Objects bar. Click the New button and the New Form dialog box

appears. Choose one of the five AutoForm options which

describes the layout you want for the form. Specify the table to use for the form. The form is automatically created

and displayed in the selected layout.

Page 9: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

9

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Form Wizard Dialog box

Page 10: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

10

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Using Forms

Use the same navigation buttons as in Datasheet view.

To add a new record, click the New Record button and key the new data in the fields.

To edit a record, display the record and make the changes in the fields.

No need to save--changes are saved automatically. To print, choose Print on the File menu and select

the Print Range options.

Page 11: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

11

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Modifying Forms

Make changes to a form in Design view. A form in Design view is divided into 3

sections: a Form header, Detail section, and Form footer.

Page 12: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

12

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Design View for Modifying Forms

Page 13: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

13

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Modifying Forms

The Toolbox has controls you can use to modify and enhance the sections in a form:

Bound control - connected to a fieldin a table and is used to display, enter, and update data.Unbound control - not connected to a field and is used to display information, lines, rectangles, and pictures.

Page 14: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

14

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Toolbox

Page 15: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

15

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Working with Calculated Controls

A calculated control on a form uses an expression to generate the data value for a field.

To create a calculated control, open the Properties dialog box.

In the Control Source text box, key the expression for calculating the field value.

Open the form and the value is calculated for each record.

Page 16: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

16

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Textbox Properties Dialog box

Page 17: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

17

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Compacting and Repairing a Database

Compacting rearranges how the database is stored and optimizes the performance of the database.

Choose Database Utilities on the Tools menu.

Click Compact and Repair Database.

Page 18: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

18

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Summary

Forms can be created in Design view by placing fields on a blank form; using a Form Wizard, which makes the process easier by asking questions and creating the form from your answers; or using AutoForm, which automatically creates a form that displays all the fields and records of the database table.

You make changes to a form using Design view, which shows the structure of the form.

A form in Design view is divided into 3 sections: a Form header, Detail section, and Form footer.

Page 19: Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT ACCESS Lesson 3 – Creating and Modifying Forms

19

Acc

ess

– L

esso

n 3

Microsoft Office XP: Introductory Course Pasewark & Pasewark

Summary

The Toolbox has controls that you can use to modify and enhance the sections in a form. There are three types of controls: bound, unbound, and calculated.

A bound control is connected to a field in a table and is used to display, enter, and update data.

An unbound control is not connected to a field. A calculated control on a form uses an expression to

calculate the data value for a field. Compacting rearranges how the database is stored

and optimizes the performance of the database.