Download presentation
Presentation is loading. Please wait.
Published byBernadette Evans Modified over 9 years ago
1
Microsoft Access 2010- Illustrated Unit C: Using Forms
2
Objectives Use the Form WizardUse the Form Wizard Create a split formCreate a split form Use Form Layout ViewUse Form Layout View Add fields to a formAdd fields to a form(continued) Microsoft Office 2010-Illustrated2
3
Objectives (continued) Modify form controlsModify form controls Create calculationsCreate calculations Modify tab orderModify tab order Insert an imageInsert an image Microsoft Office 2010-Illustrated3
4
Using 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 recordsA 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 WizardOne way to create a form is by using the Form Wizard The Wizard asks you questions to determine the information you wantThe Wizard asks you questions to determine the information you want Microsoft Office 2010-Illustrated4
5
Form Views Form Views Page 51 Table C-1 Microsoft Office 2010-Illustrated5
6
Creating 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 quicklyThe 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 2010-Illustrated6
7
Form Creation Tools Form Creation Tools Page 52 Table C-2 Microsoft Office 2010-Illustrated7
8
Example of a table in a split form Example of a table in a split form Page 53 Figure C-4 Microsoft Office 2010-Illustrated8
9
Using Form Layout View Allows some design changes to the formAllows some design changes to the form You can add and delete fieldsYou can add and delete fields You can change formatting such as fonts and colorsYou can change formatting such as fonts and colors Microsoft Office 2010-Illustrated9
10
Using Form Layout View Using Form Layout View Page 55 Figure C-5 Microsoft Office 2010-Illustrated10
11
Mouse Pointer Shapes in Form Layout View Mouse Pointer Shapes in Form Layout View Page 54 Table C-3 Microsoft Office 2010-Illustrated11
12
Adding Fields to a Form Can be done in Layout View or Design View using Field List windowCan 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 wantTo 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 boxWhen 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]To delete a field: click to select the field, then press [Delete] Microsoft Office 2010-Illustrated12
13
Field List in Form Layout View Field List in Form Layout View Page 57 Figure C-7 Microsoft Office 2010-Illustrated13
14
Bound vs. Unbound Controls Every item on a form is a control, such as text boxes and labelsEvery item on a form is a control, such as text boxes and labels Bound controls display dataBound controls display data Unbound controls do not display dataUnbound controls do not display data Microsoft Office 2010-Illustrated14
15
Modifying Form Controls Many common properties can be modified in Form View or Layout ViewMany common properties can be modified in Form View or Layout View Some properties (such as Control Source) can only be viewed and changed on the Property SheetSome properties (such as Control Source) can only be viewed and changed on the Property Sheet Microsoft Office 2010-Illustrated15
16
Using the Property Sheet Using the Property Sheet Page 59 Figure C-9 Microsoft Office 2010-Illustrated16
17
Common Form Controls Common Form Controls Page 59 Table C-4 Microsoft Office 2010-Illustrated17
18
Creating Calculations Calculations are used to add items such as subtotals and counts to a formCalculations are used to add items such as subtotals and counts to a form Expressions are needed to create a calculationExpressions are needed to create a calculation Microsoft Office 2010-Illustrated18
19
Creating Calculations Expression: an equal sign and a combination of symbolsExpression: an equal sign and a combination of symbols Square brackets must surround a field name in an expressionSquare 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)Field name must be typed exactly as it was in Table Design View (except for capitalization) Microsoft Office 2010-Illustrated19
20
Adding a Text Box to Calculate a Value Adding a Text Box to Calculate a Value Page 61 Figure C-11 Microsoft Office 2010-Illustrated20
21
Sample Expressions Sample Expressions Page 61 Table C-5 Microsoft Office 2010-Illustrated21
22
Modifying Tab Order Tab Stop: determines whether the field accepts the focus and therefore determines where 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] Tab Order: the order the focus moves as you press [Tab]Tab Order: the order the focus moves as you press [Tab] All text boxes and combo boxes have a tab stop and are included in the tab orderAll text boxes and combo boxes have a tab stop and are included in the tab order Microsoft Office 2010-Illustrated22
23
Tab Order Dialog Box Tab Order Dialog Box Page 63 Figure C-14 Microsoft Office 2010-Illustrated23
24
Inserting an Image Examples are pictures, logos, clip artExamples are pictures, logos, clip art The form section you place it in determines where it will appear on the formThe 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 recordFor example, determine whether you want the image at the top of the form or next to each record Microsoft Office 2010-Illustrated24
25
Form Sections Form Sections Page 64 Table C-6 Microsoft Office 2010-Illustrated25
26
Adding an Image to the Form Header Section Adding an Image to the Form Header Section Page 65 Figure C-15 Microsoft Office 2010-Illustrated26
27
Summary Using the Form WizardUsing the Form Wizard Creating a split formCreating a split form Using Form Layout ViewUsing Form Layout View Adding fields to a formAdding fields to a form Modifying form controlsModifying form controls Creating calculationsCreating calculations Modifying tab orderModifying tab order Inserting an imageInserting an image Microsoft Office 2010-Illustrated27
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.