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
1
Database Systems
Introduction toMicrosoft 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.
3
Create Tables• By using wizard• By entering data• By design view
– specify field name, data type– set general attributes– set primary key
4
Establish Relationships
• Click the relationships button on the toolbar
• Tables are related by matching fields.
5
Types of Queries
• Select query• Update query• Append query• Delete query
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
7
Microsoft Access
8
Defining a New Data Base
9
Naming the Data Base
FileNameOK
Change Name/Directory
10
The New Data Base
11
Tables
Rowor Record
Fields
General Relational Data base Table
Id Name Age Address214 Jones 25 1 New St, Malvern215
320
Key Field (Indexed)
12
Access Table
13
Define Fields in Table
14
Add The Name Field
15
Select Field Type
16
Set the Field’s Parameters
17
Name as Primary Key
18
Define the Image Field
SelectOLEObject
19
Image Parameters
20
Click to Save the Table
ClickYes
21
Name the Table
22
Table1 is now in the Database
23
Select Forms
Select NewForm
24
Associate Form with Table
Relate FormTo Table
25
Create Form for Table1
Select FormWizard
26
Select AutoForm
27
New Form -Run Mode
28
Close the Form
29
Save the Form
SelectYes
30
Name the Form
31
Form is part of the Database
Form inDatabase
32
Modify the Form
33
Delete the Current Title
ClickThe TitleandPress Delete
34
Select A in ToolBox for Title
35
Properties
36
Save the Change
37
Run The Form
Click OpenorDouble Click The Form
38
Add an Image Record
39
Type in the Name
40
Select ClipArt File
41
Copy Butterfly to Clipboard
42
Paste Butterfly to Image
43
The Butterfly goes to Image
44
Enter Next Record
45
Insert Object
RightMouseClick
46
Select Object Type
47
Select Graph
48
Graph
49
Clip Art
50
Cartoon
51
Add a “Next” Button
52
Name the Button
53
The Button Event
54
Exit Button
55
Name the “Exit” Button
56
The Exit Button
57
End of Lecture