Chapter 2
Tables and Forms: Design, Properties, Views, and
Wizards
Objectives
(1 of 2)• Describe table design
• Describe data types and properties; set a primary key
• Use Table Wizard; add and delete fields
Objectives
(2 of 2)• Use Form Wizard
• Distinguish between bound, unbound, and calculated controls
• Modify an existing form
Overview
• Basic principles of table and form design • Design guidelines
Table Design Basics
• Include necessary data
• Store data in its smallest parts
Creating a Table
• Table Wizard is easiest
• Designing a table yourself • Field names
• Data types • Primary key
Data Types
• Number field • Text field • Memo field
• Date/Time field • Currency field
• Yes/No field
• OLE field
• AutoNumber
New Table Screen
Click on ‘New’ Button
Table Wizard Screen
Includes All Fields
Table Design View
Data TypeProperties
(1 of 2)• Field size
• Format
• Input Mask
• Caption
• Default Value
• Validation Rule
Properties
(2 of 2)• Required
• Allow Zero Length • Indexed
• Unicode Compression • IME Mode
Creating a Form
• Controls--objects
• Bound control has data source • Unbound control: no data source
• Calculated control: expression as data source • Properties
Form Design View
Click and drag to move Toolbox
Form View
Chapter 2 Summary
• Information depends on underlying data
• Database design is critical
Chapter 2 Summary
Continued• Form provides easy way to enter and display data
• Form consists of objects called controls