Anda di halaman 1dari 6

Database Management System Activity Module

Score: ___________
Activity 1:
1. Create your first database file by following the steps below.
a.

Click on the Start button on the Task Bar.

b.

Under the Program Menu click on Microsoft Office, then


choose MS Access. Note: You can also double click on the
shortcut icon if available from the desktop.

c.

From the Menu selection, choose Blank database and


type STUDENT as the filename of the database. Click
Create button.

d. Choose Design View and save the current table as


INFORMATION.
e.

Design the following Table structure.


Field

Field

Name
Studno
Lastname
Firstname
MI
Course

Type
Text
Text
Text
Text
Text

Score: ___________
Activity 2:

Database Management System Activity Module

Field Properties
Objectives:
At the end of Activity Number 2, the students are expected to:
1. identify field properties.
2. identify primary key.
3. implement field properties in designing database.
Steps:
1. Create a database file by following the steps below.
a. Click on the Start button on the Task Bar.
b. Under the Program Menu click on Microsoft Office, then choose
MS Access. Note: You can also double click on the shortcut icon if
available from the desktop.
c. From the Menu selection, choose Blank database and type
ORDER as the filename of the database. Click Create button.
d. Choose

Design

View

and

save

the

current

table

as

INFORMATION.
e. Design the following Table structure. Choose OrderNo as the
primary key.
Fieldname

Data Type

Sample Format

OderNo

AutoNumber

Description

Text

000-001
Allows
maximum
length
of
20
characters

Date-In

Date/Time

20 - Nov - 12

Price

Currency

$120.45

In_Charge

Text

Josan
2

Database Management System Activity Module

Weight

Number

Expiration

Date/Time

Condition

Memo

Deli_Contact

Mode_Payment

Text

Text

Must be from 1 to
99
"Wrong Input" will
appear if value is
outside the given
range
27 - Oct - 2012
Year must be 2012
and beyond
"Invalid Date" will
appear if year is
before 2012.
The
phrase
"Condition of the
products
when
delivered"
is
automatically
displayed.
Default
Value
is
Pedro.
Choices are Juan,
Pedro or Berting.
If value is not from
the choices, "Invalid
Contact"
will
appear.
Default
Value
is
Cash
Choices are Cash or
Cheque.
If value is not from
the choices, "Invalid
Payment"
will
appear.

Score: ___________
Activity 3:
1. Create a database file by following the steps below.
a. Click on the Start button on the Task Bar.
3

Database Management System Activity Module

b. Under the Program Menu click on Microsoft Office, then choose


MS Access. Note: You can also double click on the shortcut icon if
available from the desktop.
c. From the Menu selection, choose Blank database and type
STUDENT as the filename of the database. Click Create button.
d. Choose

Design

View

and

save

the

current

table

as

INFORMATION.
e. Design the following Table structure. Choose STUD_ID as the
primary key.
Fieldname

Data Type

Sample Format

STUD_ID

AutoNumber

Fullname

Text

Bday

Date/Time

Course

Number

000-001
Allows
maximum
length
of
30
characters,
including MI.
20 - Nov - 12
Year must not be
later than 1985.
1 - BSBA
2 - BSA
3 - Assoc
Else
"Invalid
Course"
message
will appear.

Year_level

Number

Mode_Payment

Text

Balance

Number

Date_Enrolled

Date/Time

Range between 1- 4
else "Invalid year"
will appear.
Default
Value
is
Cash
Choices are Cash or
Cheque.
If value is not from
the choices, "Invalid
Payment"
will
appear.
Must not be less
than zero.
20 - Nov - 12
Year
must
only
2012.
4

Database Management System Activity Module

Score: ___________
Activity 4:
Objectives:
At the end of Activity Number 4, the students are expected to:
1. add new records in the database.
2. view records in the database.
Steps:
1. Create a database file by following the steps below.
a. Click on the Start button on the Task Bar.
b. Under the Program Menu click on Microsoft Office, then choose
MS Access. Note: You can also double click on the shortcut icon if
available from the desktop.
c. From the Menu selection, choose Blank database and type
EMPLOYEE as the filename of the database. Click Create button.
d. Choose

Design

View

and

save

the

current

table

as

INFORMATION.
e. Design the following Table structure. Choose EmpNo as the
primary key.
FieldName

DataType

Description

Format

EmpNo

AutoNumber

Employee's
Number

001

Surname

Text

Employee's
Surname
Employee's

Max of 20

Database Management System Activity Module

Firstname

Text

MI

Text

Firstname
Employee's Middle
Initial

Position

Text

Job's Position

Department

Text

Employee's
Department

Salary

Number

Gross Salary

Licensed

Yes/No

Passed the
Licensure Exam

Max of 20
Max of 2
Choices are:
Contractual
Probationary
Regular
"Must be
valid value"
as the
validation
text.
Choices are:
Marketing
Engineering
Finance
"Must be
valid value"
as the
validation
text.
Must be non
zero value.
"Must be
valid value"
as the
validation
text.
Yes/No

2. After designing the table, populate ten (10) records. Make sure
to alternate the value of Position and Department of the ten (10)
records.
3. You can add records into the table using the table's datasheet
view or through the data entry screen. Don't forget to save your
table for the next activity.
4. View your table's content by selecting DataSheet View from the
Menu List.