Download presentation
Presentation is loading. Please wait.
1
Microsoft Access 2003 Illustrated Complete
Developing Forms and Subforms
2
Objectives Understand the form/subform relationship
Create subforms using the Form Wizard Create subforms using queries Modify subforms Developing Forms and Subforms
3
Objectives Add a combo box for data entry
Add a combo box to find records Add option groups Add command buttons Add ActiveX controls Developing Forms and Subforms
4
Understand the form/subform relationship
A form/subform is two form objects The “main form” contains the subform Use a form/subform to show a one-to-many relationship Use a form/subform to show a parent-child relationship Developing Forms and Subforms
5
Understand the form/subform relationship
The Record Source property of the form identifies the recordset, the fields and records a form will display The Record Source value may be: Table Query SQL Statement Developing Forms and Subforms
6
Understand the form/subform relationship
Main form Subform Developing Forms and Subforms
7
Create subforms using the Form Wizard
Choose table or query objects that contain desired fields Selected field list Developing Forms and Subforms
8
Create subforms using the Form Wizard
Subform navigation bar Main form navigation bar Developing Forms and Subforms
9
Create subforms using queries
Create the main form and subform as separate objects Add the subform to the main form using the Subform Wizard Subform/Subreport button Developing Forms and Subforms
10
Create subforms using queries
A common field must be present in both the main form and subform to link the two forms The properties used to link a subform to a main form are these Link Child Fields Link Master Fields Developing Forms and Subforms
11
Modify subforms You may modify forms and subforms in their individual Form Design Views You may modify forms and subforms in the Form Design View of the main form Developing Forms and Subforms
12
Modify subforms Main form Subform Developing Forms and Subforms
13
Add a combo box for data entry
Use the Combo Box Wizard Combo Box button Developing Forms and Subforms
14
Choose one of the first two options to use the combo box to enter data
Combo Box Wizard Choose one of the first two options to use the combo box to enter data Developing Forms and Subforms
15
Add a combo box to enter data
Combo boxes used to enter data Developing Forms and Subforms
16
Choose the last option to use the combo box to find records
Combo Box Wizard Choose the last option to use the combo box to find records Developing Forms and Subforms
17
Add a combo box to find records
Combo box used to find records Developing Forms and Subforms
18
Add option groups Use the Option Group Wizard Option Group button
Option Button button Developing Forms and Subforms
19
Add option groups Option group with four option buttons
Developing Forms and Subforms
20
Add command buttons Use the Command Button Wizard
Command Button button Developing Forms and Subforms
21
Command Button Wizard Actions within each category
Command Button categories Developing Forms and Subforms
22
Adding command buttons
Developing Forms and Subforms
23
Add ActiveX Controls ActiveX is a Microsoft technology
Microsoft and outside vendors write ActiveX controls ActiveX controls may be shared across applications Developing Forms and Subforms
24
ActiveX Controls vary based on the programs on your computer
Add ActiveX Controls ActiveX Controls vary based on the programs on your computer Developing Forms and Subforms
25
Summary Forms/subforms show related records
Forms/subforms can be created with the Form Wizard or individually using the Subform Wizard Combo boxes, option groups, command buttons, and ActiveX controls may be added to a form to improve the form’s functionality Developing Forms and Subforms
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.