31
1 Database Systems Introduction to Microsoft Access Part 2

1 Database Systems Introduction to Microsoft Access Part 2

Embed Size (px)

Citation preview

Page 1: 1 Database Systems Introduction to Microsoft Access Part 2

1

Database Systems

Introduction toMicrosoft Access

Part 2

Page 2: 1 Database Systems Introduction to Microsoft Access Part 2

2

Access database wizards, pages, and projects

• Access' wizards are existing database structures that only need data input.

Page 3: 1 Database Systems Introduction to Microsoft Access Part 2

3

Database Window

• The Database Window organizes all of the objects in the database.

Page 4: 1 Database Systems Introduction to Microsoft Access Part 2

4

Design View

• Design View customizes the fields in the database so that data can be entered.

Page 5: 1 Database Systems Introduction to Microsoft Access Part 2

5

Datasheet View The datasheet allows you to enter data into the

database

Page 6: 1 Database Systems Introduction to Microsoft Access Part 2

6

Create a Table in Design View

• Design View will allow you to define the fields in the table before adding any data to the datasheet.

Page 7: 1 Database Systems Introduction to Microsoft Access Part 2

7

Adding Records

• Add new records to the table in datasheet view by typing in the record beside the asterisk (*) that marks the new record.

Page 8: 1 Database Systems Introduction to Microsoft Access Part 2

8

Hiding Columns

• Columns can also be hidden from view on the datasheet although they will not be deleted from the database.

Page 9: 1 Database Systems Introduction to Microsoft Access Part 2

9

Finding Data in a Table• Data in a datasheet can be quickly located by

using the Find command.

Page 10: 1 Database Systems Introduction to Microsoft Access Part 2

10

Table Relationships • Relationships can be established to link fields of

tables together.

Page 11: 1 Database Systems Introduction to Microsoft Access Part 2

11

Enforce Referential Integrity

Page 12: 1 Database Systems Introduction to Microsoft Access Part 2

12

• A line now connects the two fields in the Relationships window.

Enforce Referential Integrity

Page 13: 1 Database Systems Introduction to Microsoft Access Part 2

13

Create a Query in Design View

Page 14: 1 Database Systems Introduction to Microsoft Access Part 2

14

Create a Query in Design View

Page 15: 1 Database Systems Introduction to Microsoft Access Part 2

15

Create a Query in Design View

Page 16: 1 Database Systems Introduction to Microsoft Access Part 2

16

Create query by using wizard

Page 17: 1 Database Systems Introduction to Microsoft Access Part 2

17

Create query by using wizard

Page 18: 1 Database Systems Introduction to Microsoft Access Part 2

18

Find Duplicates Query

Page 19: 1 Database Systems Introduction to Microsoft Access Part 2

19

New Query Example

Click New

Page 20: 1 Database Systems Introduction to Microsoft Access Part 2

20

Select Design View for New Query

Design View

Page 21: 1 Database Systems Introduction to Microsoft Access Part 2

21

Select the Members Table for the Query

Add Membersthen Close

Page 22: 1 Database Systems Introduction to Microsoft Access Part 2

22

Select Fields for Query

Select Field

Page 23: 1 Database Systems Introduction to Microsoft Access Part 2

23

Selection Criteria

Criteria

Page 24: 1 Database Systems Introduction to Microsoft Access Part 2

24

View the Selected Data

View Selected data

Page 25: 1 Database Systems Introduction to Microsoft Access Part 2

25

The Selected Data

Page 26: 1 Database Systems Introduction to Microsoft Access Part 2

26

View Query SQL

SQL

Page 27: 1 Database Systems Introduction to Microsoft Access Part 2

27

The Query SQL Code

Page 28: 1 Database Systems Introduction to Microsoft Access Part 2

28

Save the Query

Save

Page 29: 1 Database Systems Introduction to Microsoft Access Part 2

29

The Saved Query

Page 30: 1 Database Systems Introduction to Microsoft Access Part 2

30

View the Query Data

Page 31: 1 Database Systems Introduction to Microsoft Access Part 2

31

End of Lecture