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

Post on 18-Jan-2016

217 views 5 download

Transcript of CSCI-235 Micro-Computers in Science Microsoft Access 2002 Chapter 2 Tables and Forms: Design,...

CSCI-235Micro-Computers in Science

Microsoft Access 2002

Chapter 2Tables 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

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

Exploring Microsoft Access - Microsoft Access Chapter 2

4

Table Wizard Screen

Includes All Fields

Removes Selected Field

Exploring Microsoft Access - Microsoft Access Chapter 2

5

New Table Screen

Click on ‘New’ Button

Select how to view/create new table

Exploring Microsoft Access - Microsoft Access Chapter 2

6

Table Design View

PrimaryKey

Field Names

Field Properties

Data Type

Description

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

Exploring Microsoft Access - Microsoft Access Chapter 2

8

Properties

Field size

Format

Input Mask

Caption

Default Value

Validation Rule

Validation Text

Required

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

Exploring Microsoft Access - Microsoft Access Chapter 2

10

Form Design View

Click and drag to move Toolbox

Sizing handles

Exploring Microsoft Access - Microsoft Access Chapter 2

11

Form View

Current Record Total Number of Records