11
CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Embed Size (px)

Citation preview

Page 1: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

CSCI-235Micro-Computers in Science

Microsoft Access 2002

Chapter 2Tables and Forms: Design, Properties, Views,

and Wizards

Page 2: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

2

Table Design Basics

Include necessary data (only)

Store data in its smallest parts Separate fields for First and Last Name

Avoid calculated fields Date of birth instead of Age

Page 3: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

3

Creating a Table

Table Wizard is easiest Designing a table yourself Field names Data types Primary key Views: Datasheet or Design Properties

Page 4: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

4

Table Wizard Screen

Includes All Fields

Removes Selected Field

Page 5: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

5

New Table Screen

Click on ‘New’ Button

Select how to view/create new table

Page 6: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

6

Table Design View

PrimaryKey

Field Names

Field Properties

Data Type

Description

Page 7: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

7

Data Types

Number field

Text field

Memo field

Date/Time field

Currency field

Yes/No field

OLE field

AutoNumber

Hyperlink field

Page 8: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

8

Properties

Field size

Format

Input Mask

Caption

Default Value

Validation Rule

Validation Text

Required

Page 9: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

9

Creating a Form

Controls--objects Bound control has data source Unbound control: no data source Calculated control: expression as

data source Properties Form Wizard

Page 10: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

10

Form Design View

Click and drag to move Toolbox

Sizing handles

Page 11: CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design, Properties, Views, and Wizards

Exploring Microsoft Access - Microsoft Access Chapter 2

11

Form View

Current Record Total Number of Records