Top Banner
Using Forms
27

Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Dec 30, 2015

Download

Documents

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Using Forms

Page 2: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Objectives

• Use the Form Wizard• Create a split form• Use Form Layout View• Add fields to a form

(continued)

Microsoft Office 2013-Illustrated 2

Page 3: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Objectives (continued)

• Modify form controls• Create calculations• Modify tab order• Insert an image

Microsoft Office 2013-Illustrated 3

Page 4: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Use the Form Wizard

• A form is an Access database object that allows you to arrange the fields of a record in any layout so you can enter, edit, and delete records

• One way to create a form is by using the Form Wizard

• The Wizard asks you questions to determine the information you want

•Microsoft Office 2013-Illustrated 4

Page 5: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Form Views

Microsoft Office 2013-Illustrated 5

Page 6: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Create a Split Form

• The benefit of a split form is that the upper pane allows you to display the fields of one record in any arrangement, and the lower pane maintains a datasheet view of the first few records, which you can navigate very quickly

Microsoft Office 2013-Illustrated 6

Page 7: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Form Creation Tools

Microsoft Office 2013-Illustrated 7

Page 8: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Example of a table in a split form

Microsoft Office 2013-Illustrated 8

Page 9: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Use Form Layout View

• Layout View lets you make some design changes to a form while you are browsing the data:• Move and resize controls• Add or delete a field on the form• Filter and sort data• Change formatting characteristics, such as

fonts and colors

Microsoft Office 2013-Illustrated 9

Page 10: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Use Form Layout View

Microsoft Office 2013-Illustrated 10

Page 11: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Mouse Pointer Shapes in Form Layout View

Microsoft Office 2013-Illustrated 11

Page 12: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Add Fields to a Form

• Can be done in Layout View or Design View using Field List window

• To add a field: drag it from the Field List to the location you want

• When you add a new field, 2 controls are created: label and text box

• To delete a field: click to select the field, then press [Delete]

Microsoft Office 2013-Illustrated 12

Page 13: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Field List in Form Layout View

Microsoft Office 2013-Illustrated 13

Page 14: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Bound vs. Unbound Controls

• Every item on a form is a control, such as text boxes and labels

• Bound controls display data• Unbound controls do not display data

Microsoft Office 2013-Illustrated 14

Page 15: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Modify Form Controls

• When you modify controls, you change their properties (characteristics)

• All of the control characteristics you can modify are stored in the control’s Property Sheet

Microsoft Office 2013-Illustrated 15

Page 16: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Using the Property Sheet

Microsoft Office 2013-Illustrated 16

Page 17: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Common Form Controls

Microsoft Office 2013-Illustrated 17

Page 18: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Create Calculations

• To create a calculation in a text box, you enter an expression instead of a field name in the Control Source property

• An expression is a combination of field names, operators (such as +, –, /, and *), and functions (such as Sum, Count, or Avg) that results in a single value

Microsoft Office 2013-Illustrated 18

Page 19: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Creating Calculations

• Expression: an equal sign and a combination of symbols

• Square brackets must surround a field name in an expression

• Field name must be typed exactly as it was in Table Design View (except for capitalization)

Microsoft Office 2013-Illustrated 19

Page 20: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Adding a Text Box to Calculate a Value

Microsoft Office 2013-Illustrated 20

Page 21: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Sample Expressions

Microsoft Office 2013-Illustrated 21

Page 22: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Modify Tab Order

• Tab Order: the order the focus moves as you press [Tab]

• Tab Stop: determines whether the field accepts the focus and therefore determines where the focus moves as you press [Tab]

• All text boxes and combo boxes have a tab stop and are included in the tab order

Microsoft Office 2013-Illustrated 22

Page 23: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Tab Order Dialog Box

Microsoft Office 2013-Illustrated 23

Page 24: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Insert an Image

• Examples are pictures, logos, clip art• The form section you place it in

determines where it will appear on the form

• For example, determine whether you want the image at the top of the form or next to each record

Microsoft Office 2013-Illustrated 24

Page 25: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Form Sections

Microsoft Office 2013-Illustrated 25

Page 26: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Adding an Image to the Form Header Section

Microsoft Office 2013-Illustrated 26

Page 27: Using Forms. Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields.

Summary

• Using the Form Wizard• Creating a split form• Using Form Layout View• Adding fields to a form• Modifying form controls• Creating calculations• Modifying tab order• Inserting an image

Microsoft Office 2013-Illustrated 27