57
1 Database Systems Introduction to Microsoft Access Part 1

Database Systems Introduction to Microsoft Access Part 1

  • Upload
    fancy

  • View
    65

  • Download
    1

Embed Size (px)

DESCRIPTION

Database Systems Introduction to Microsoft Access Part 1. Introduction. In its simplest form, Access is a database application It uses a relational database management model, which means you can relate each piece of information to other pieces of information by joining them. Create Tables. - PowerPoint PPT Presentation

Citation preview

Page 1: Database Systems Introduction to Microsoft Access Part 1

1

Database Systems

Introduction toMicrosoft Access

Part 1

Page 2: Database Systems Introduction to Microsoft Access Part 1

2

Introduction• In its simplest form, Access is a

database application• It uses a relational database

management model, which means you can relate each piece of information to other pieces of information by joining them.

Page 3: Database Systems Introduction to Microsoft Access Part 1

3

Create Tables• By using wizard• By entering data• By design view

– specify field name, data type– set general attributes– set primary key

Page 4: Database Systems Introduction to Microsoft Access Part 1

4

Establish Relationships

• Click the relationships button on the toolbar

• Tables are related by matching fields.

Page 5: Database Systems Introduction to Microsoft Access Part 1

5

Types of Queries

• Select query• Update query• Append query• Delete query

Page 6: Database Systems Introduction to Microsoft Access Part 1

6

Create Queries• By using wizard

– select table, fields– Not convenient to design complex

query• By design view• By SQL view

– Input SQL sentence directly

Page 7: Database Systems Introduction to Microsoft Access Part 1

7

Microsoft Access

Page 8: Database Systems Introduction to Microsoft Access Part 1

8

Defining a New Data Base

Page 9: Database Systems Introduction to Microsoft Access Part 1

9

Naming the Data Base

FileNameOK

Change Name/Directory

Page 10: Database Systems Introduction to Microsoft Access Part 1

10

The New Data Base

Page 11: Database Systems Introduction to Microsoft Access Part 1

11

Tables

Rowor Record

Fields

General Relational Data base Table

Id Name Age Address214 Jones 25 1 New St, Malvern215

320

Key Field (Indexed)

Page 12: Database Systems Introduction to Microsoft Access Part 1

12

Access Table

Page 13: Database Systems Introduction to Microsoft Access Part 1

13

Define Fields in Table

Page 14: Database Systems Introduction to Microsoft Access Part 1

14

Add The Name Field

Page 15: Database Systems Introduction to Microsoft Access Part 1

15

Select Field Type

Page 16: Database Systems Introduction to Microsoft Access Part 1

16

Set the Field’s Parameters

Page 17: Database Systems Introduction to Microsoft Access Part 1

17

Name as Primary Key

Page 18: Database Systems Introduction to Microsoft Access Part 1

18

Define the Image Field

SelectOLEObject

Page 19: Database Systems Introduction to Microsoft Access Part 1

19

Image Parameters

Page 20: Database Systems Introduction to Microsoft Access Part 1

20

Click to Save the Table

ClickYes

Page 21: Database Systems Introduction to Microsoft Access Part 1

21

Name the Table

Page 22: Database Systems Introduction to Microsoft Access Part 1

22

Table1 is now in the Database

Page 23: Database Systems Introduction to Microsoft Access Part 1

23

Select Forms

Select NewForm

Page 24: Database Systems Introduction to Microsoft Access Part 1

24

Associate Form with Table

Relate FormTo Table

Page 25: Database Systems Introduction to Microsoft Access Part 1

25

Create Form for Table1

Select FormWizard

Page 26: Database Systems Introduction to Microsoft Access Part 1

26

Select AutoForm

Page 27: Database Systems Introduction to Microsoft Access Part 1

27

New Form -Run Mode

Page 28: Database Systems Introduction to Microsoft Access Part 1

28

Close the Form

Page 29: Database Systems Introduction to Microsoft Access Part 1

29

Save the Form

SelectYes

Page 30: Database Systems Introduction to Microsoft Access Part 1

30

Name the Form

Page 31: Database Systems Introduction to Microsoft Access Part 1

31

Form is part of the Database

Form inDatabase

Page 32: Database Systems Introduction to Microsoft Access Part 1

32

Modify the Form

Page 33: Database Systems Introduction to Microsoft Access Part 1

33

Delete the Current Title

ClickThe TitleandPress Delete

Page 34: Database Systems Introduction to Microsoft Access Part 1

34

Select A in ToolBox for Title

Page 35: Database Systems Introduction to Microsoft Access Part 1

35

Properties

Page 36: Database Systems Introduction to Microsoft Access Part 1

36

Save the Change

Page 37: Database Systems Introduction to Microsoft Access Part 1

37

Run The Form

Click OpenorDouble Click The Form

Page 38: Database Systems Introduction to Microsoft Access Part 1

38

Add an Image Record

Page 39: Database Systems Introduction to Microsoft Access Part 1

39

Type in the Name

Page 40: Database Systems Introduction to Microsoft Access Part 1

40

Select ClipArt File

Page 41: Database Systems Introduction to Microsoft Access Part 1

41

Copy Butterfly to Clipboard

Page 42: Database Systems Introduction to Microsoft Access Part 1

42

Paste Butterfly to Image

Page 43: Database Systems Introduction to Microsoft Access Part 1

43

The Butterfly goes to Image

Page 44: Database Systems Introduction to Microsoft Access Part 1

44

Enter Next Record

Page 45: Database Systems Introduction to Microsoft Access Part 1

45

Insert Object

RightMouseClick

Page 46: Database Systems Introduction to Microsoft Access Part 1

46

Select Object Type

Page 47: Database Systems Introduction to Microsoft Access Part 1

47

Select Graph

Page 48: Database Systems Introduction to Microsoft Access Part 1

48

Graph

Page 49: Database Systems Introduction to Microsoft Access Part 1

49

Clip Art

Page 50: Database Systems Introduction to Microsoft Access Part 1

50

Cartoon

Page 51: Database Systems Introduction to Microsoft Access Part 1

51

Add a “Next” Button

Page 52: Database Systems Introduction to Microsoft Access Part 1

52

Name the Button

Page 53: Database Systems Introduction to Microsoft Access Part 1

53

The Button Event

Page 54: Database Systems Introduction to Microsoft Access Part 1

54

Exit Button

Page 55: Database Systems Introduction to Microsoft Access Part 1

55

Name the “Exit” Button

Page 56: Database Systems Introduction to Microsoft Access Part 1

56

The Exit Button

Page 57: Database Systems Introduction to Microsoft Access Part 1

57

End of Lecture