it419 - database management systems [ project ]

109
2012 IT419 – Database Management Systems Project INFORMATICS COMPUTER SCHOOL DIT PROJECT (IT419 – DATABASE MANAGEMENT SYSTEMS) <True Power Gun Shop Database System > Name/s: Lim, Ma. Carmen N. Address: 37 Padua St. BFRV LPC, M.M. Student No.: 0000 - 7999 Lecturer: Sir Mark Anthony Perez Sabilis Center: 0535 Country: Republic of the Philippines 0535 - 0000 – 7999 (I-DIT) 1

Upload: carmzl88

Post on 22-Apr-2015

64 views

Category:

Documents


1 download

DESCRIPTION

This is a documentation based on the concept of Database Management Systems. Sharing for academic purposes only =)

TRANSCRIPT

Page 1: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

INFORMATICS COMPUTER SCHOOL

DIT PROJECT

(IT419 – DATABASE MANAGEMENT SYSTEMS)

<True Power Gun Shop Database System >

Name/s: Lim, Ma. Carmen N.

Address: 37 Padua St. BFRV LPC, M.M.

Student No.: 0000 - 7999

Lecturer: Sir Mark Anthony Perez Sabilis

Center: 0535

Country: Republic of the Philippines

0535

- 00

00 –

799

9 (I-

DIT

)

1

Page 2: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE OF CONTENTS

I. Strategy and Analysis

1. Description of a Current business activities

2. Description of Operations

3. Entity Relationship Model Diagram

II. Design

5. Tables Specification

III. Development

6. Scripts Listing

7. Testing

7.1 Test Plan

7.2 Test Cases

7.3 Test Log

7.4 Screen Dumps

IV. Implementation

8 User Manual

V. Conclusion

ACKNOWLEDGEMENTS

P. 3

P. 4

P. 5

PP. 6 - 17

PP. 18 - 22

PP. 24- 38

P. 23

P. 23

P. 39

PP. 40- 56

PP. 57-65

P. 66

P. 67

0535

- 00

00 –

799

9 (I-

DIT

)

2

Page 3: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

CHAPTER I: STRATEGY AND ANALYSIS

1. Description of Current Business Activities

The subject company for this documentation, which emphasizes on the

principles of Database Management System, is True Power Gun Shop. It is a

firearms trading business that is operated by Mr. Jack Francisco and his two

trusty assistants. Currently, the merchandise has an existing MS Access

Database encoded in Structured Query Language alone to house their sales

records and innermost information.

They made use of a Database System as they recognized its potency to

store data efficiently and securely from unwanted access. An MS Access Driven

Database can reliably sort records categorically and collectively with security

features that restricts suspicious handling of records.

However their spreadsheet type of organizing data is only consisting of

tables and incomprehensible commands written in Structured Query Language

which can leave inexperienced users dumbfounded.

It is necessary that the medium scale firearm business revamp their

database system with management features such as forms with commands

which projects a graphical user interface for easy table manipulations and

modifications into the active spreadsheet.

0535

- 00

00 –

799

9 (I-

DIT

)

3

Page 4: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

2. Description of operations

True Power Gun Shop is a business founded by Mr. Jack Francisco

and operates the merchandise with his cohorts. They distribute firearms and

weaponry to those who are in the right side of the law.

According to sources it was made known that the business has been

running since 2003 and they are already reputed among gun enthusiasts and

law enforcers for the quality weapons they provide. Aside from firearms,

accessories, & ammunition retailing they offer gun-smithing as well as

reloading services.

However, the medium scale business is pretty secretive and does not

reveal much about their company profile for they perhaps decided to

negotiate firearms personally and not draw the fancy of evil doers. Although

the company chose to work covertly, their branch can be approached in

Poblacion, Muntinlupa City and purchases or orders can be processed in

there.

2.1 Organizational Structure

Jack FranciscoOWNER/FOUNDER/HEAD

Ferdie IlaganSALESMAN/CLERK

Armando FranciscoASSISTANT MANAGER/GUNSMITH

0535

- 00

00 –

799

9 (I-

DIT

)

4

Page 5: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

3. Entity Relationship Diagram

Here’s a graphic representation of the table relations in True Power Gun Shop’s

Database. As you can see, every primary key assigned in this table holds one-to-

many relationship with their foreign keys from other tables, this is so because these

PK’s records correspond to the exact same records which are known as Foreign

Keys of its fellow tables.

Each Primary Key (PK) relates as ‘one-to-many’ to all of the records it has likeness

with that also exists in its co-tables which are referred to as Foreign Key (FK)

0535

- 00

00 –

799

9 (I-

DIT

)

5

Page 6: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

0535

- 00

00 –

799

9 (I-

DIT

)

6

Page 7: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

CHAPTER II: Design

4. Table Specifications

This part of the document is intended to describe the tables within the True

Power Gun Shop’s Database System in every detail. It has been mention earlier that

those tables were constructured in Structured Querry Language which are

statements that are responsible for defining and manipulating spreadsheets in a

database.

In a strict sense, tables are necessary in a database as it serves as its

systematized infrastructure. Without tables a database cannot really stand alone it

will apparently be considered technically void or defunct.

For the sake of comprehensiveness, the tables that are contained in the True

Power Gunshop Database System are actually segregated into two segments

namely:

Merchandise Tables – the first six tables which handles the specific firearm

product’s catalogue, inventory and sales from True Power Gunshop.

Company Bodies and Activities – The next five tables that monitor the

business flow between, Manufacturers, Employees and customers that is in

contact with True Power Gun Shop Database System. It also tracks the work

hours of their employees.

Now, the importance of the existing tables, together with their purpose and

composite, will be thoroughly expounded throughout the pages that are

encompassed by this chapter.

0535

- 00

00 –

799

9 (I-

DIT

)

7

Page 8: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

“MERCHANDISE TABLES”

TABLE I: HANDGUNS

0535

- 00

00 –

799

9 (I-

DIT

)

8

Page 9: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Purpose of this table is to catalog & provide details about the Handgun

Products stocked in True Power Gun Shop and a record of their dealings.

TABLE COLUMNS & THEIR PURPOSE:

HandGunID(PK): Gives Identification to

handgun items . HandGunModel: This

names the Handgun Items stocked in True

Power Gun Shop. HandGunDescription:

gives specifics on the Handgun Items stocked in True Power Gun Shop.

HandGunType: individually exacts the type of Handgun item listed. Price: puts

value on the listed Handgun Item. ManufacturerID(FK): indicates the Handgun’s

manufacturer this column is expandable through relations for elaborations.

Status: shows the status of the Handgun in stock it will indicate its actuations.

CustomerID(FK): associates the handgun item to a person who availed it, is also

expandable through relations.

TABLE DATA TYPES & WIDTH:

Number: QTY (3) Sized Double

Text: QTY (4) Sized 225 each

Currecy: Auto Sized

TABLE II: LONGGUNS05

35 -

0000

– 7

999

(I-D

IT)

9

Page 10: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Purpose of this table is to catalogue & provide details about the Long Gun

Products stocked in True Power Gun Shop and a record of their dealings.

TABLE COLUMNS & THEIR PURPOSE:

LongGunID(PK): Gives Identification to

Longgun items in True Power Gun Shop.

LongGunModel: This names the stock of

Longgun Items of the subject shop

LongGunDescription: gives specifics of the Longgun Items stocked in True Power

Gun Shop. LongGunType: individually exacts the type of Longgun item listed.

Price: puts value on the listed Longgun Item. ManufacturerID(FK): indicates the

Longgun’s manufacturer this column is expandable through relations

Status: shows the status of the Longgun in stock it will indicate its actuations.

CustomerID(FK): associates the handgun item to a person who availed can be

expanded through relations.

DATA TYPES & WIDTH:

Number: QTY (3) Sized Double

Text: QTY(4) Sized 255

Currency: AutoSized

0535

- 00

00 –

799

9 (I-

DIT

)

10

Page 11: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE III: MELEE ARMS

The purpose of this table is to catalog & specify details about the Melee Armaments

Available in True Power Gun Shop. Actuations of this product should also be shown

in here.

TABLE COLUMN & THEIR PURPOSE:

WeaponID(PK): gives Identification to the Melee

Weapon stocked in True Power Gun Shop.

WeaponName: gives a name to address the stocked

Melee Weapon Item in True Power Gun Shop.

WeaponDescription: implies specifications and details

about the Melee Weapon Item Listed. WeaponType: exacts what type of Melee

Weapon Item is listed. ManufacturerID(FK): Elaborates the manufacturer for the

melee weapons stocked in True Power Gun Shop. InStock: gives a count of Melee

Weapons available in True Power Gun Shop. Sold: counts the number of Melee

Weapons Sold.

DATA TYPE & WIDTH:

Number: QTY (4) Double Sized

Text: QTY (3) Size 255

Currency: Auto Sized

0535

- 00

00 –

799

9 (I-

DIT

)

11

Page 12: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE IV: ACCESSORIES

The Purpose of this table is to catalog and produce exact details about the

Accessories for Armaments in True Power Gun Shop. Actuations of this product

category should be shown here.

TABLE COLUMNS & THEIR PURPOSE:

AccessoryID(PK): Gives Identification for the FireArm

Accessory Item in True Power Gun Shop.

AccessoryName: names the Accessory Item stocked in

True Power Gun Shop. AccessoryDescription: Gives

specifics about the Firearm Accessory Item listed.

AccessoryType: states what type of firearm accessory is listed. Price: Indicates the

cash value of the Accessory Item listed. ManufacturerI(FK): Elaborates the

manufacturer for the Firearm Accessories listed. InStock: Counts the number of

Firearm Accessories available in True Power Gun Shop. Sold: Counts the number of

Firearm Accessories Sold in True Power Gun Shop.

DATA TYPES & WIDTH:

Number: QTY (4) Double Sized

Text: QTY (3) Size 255

Currency: Auto-Sized

0535

- 00

00 –

799

9 (I-

DIT

)

12

Page 13: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE V: EQUIPMENTS

The Purpose of this table is to catalog and give out precise details on Equipment

Stocks and sales in True Power Gun Shop.

TABLE COLUMNS & THEIR PURPOSE:

EquipmentID(PK): serves as Identification for Firearm

Equipment Products of True Power Gun Shop.

EquipmentName: Addresses the Firearm Equipment

Item listed. EquipmentDescription: Implies specifics

about the Firearm Equipment Item listed.

EquipmentType: Indicates the type of Firearm Equipment that is Listed

ManufacturerID(FK): will provide elaborate details on the manufacturer of the Firearm

Equipment Product Listed InStock: Counts the stock of Firearm Equipment Products

available in True Power Gun Shop. Sold: Counts the number of Firearm Equipments

Products sold.

DATA TYPE & WIDTH:

Number: QTY (4) Double Sized

Text: QTY (3) Size 255

Currency: Auto-Sized

0535

- 00

00 –

799

9 (I-

DIT

)

13

Page 14: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE VI: AMMOS

This

table’s purpose is to catalog and provide detailed information & sales regarding True

Power Gun Shop’s Ammunition Products.

TABLE COLUMN & THEIR PURPOSE:

AmmoID(PK): Identifies the Ammo Item in

the AMMOS Table. AmmoBrand: Shows

the brand of the Ammo Item Listed.

AmmoType: Indicates the type of Ammo

Item Listed. Price: Shows the monetary value of the Ammo Item Listed. InStock:

counts the number of AMMO Item boxes in True Power Gun Shop ‘s stock. Sold:

counts the number of AMMO Item boxes sold in True Power Gun Shop. LicenseID:

shows the License of dealership of the Ammo Products Listed.

DATA TYPE & WIDTH:

Number: QTY(3) Double Sized

Text: QTY (3) Size 255

Currency: Auto Sized

0535

- 00

00 –

799

9 (I-

DIT

)

14

Page 15: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

“COMPANY BODIES & ACTIVITIES TABLE”

TABLE I: MANUFACTURERS

This table’s purpose is to,

of course, list down the manufacturers that are associated with the dealings of True

Power Gun Shop and also give out enough description about them too. This table

relates to other tables in the True Power Gun Shop database that rely on this piece

of information.

TABLE COLUMN & THEIR PURPOSE:

ManufacturerID(PK): Gives out an Identity to the

Manufacturer present in this table. Manufacturer:

Presents the name of the manufacturer present in the

table. Details: Gives important piece of information about

the manufacturer listed. LicenseID(FK): States what kind of license do these

manufacturers posses regarding firearms, this field is expandable for further

information through relation.

DATATYPE & WIDTH:

Number: Double Sized

Text: Size 255

0535

- 00

00 –

799

9 (I-

DIT

)

15

Page 16: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE II: CUSTOMERS

The purpose of this table is to keep a tight record of the customers & their particulars

who visit and purchase from the shop. Most of the customers listed here however are

the ones who make gun transactions.

TABLE COLUMN & THEIR PURPOSE:

CustomerID(PK): gives identification for each

recorded Customer. SurName: Shows the

Customer’s Surname or Last Name. ForeName:

Shows the Customer’s First and Forename.

Gender: determines if a Customer is Male or

Female. Age: States the age of the Customer

Recorded ContactNumber: Provides the Customer’s contact details. Email: Gives the

customers Email Address. HomeAddress: Shows the Customer’s residence and

location for mailing and security matters. DistinguishingFeatures: Gives the unique

physical features of the Customer in case of problems. HandGunID(FK)/

LongGunID(FK)/ WeaponID(FK)/ AmmoID(FK) /LicenseID(FK): These fields show

the product purchase and ownership of the customers. These fields are expandable

and can give more information through table relations.

DATA TYPE & WIDTH:

Number: QTY (5) Double Sized

Text: QTY (6) Size 255

Attachment: Photo

0535

- 00

00 –

799

9 (I-

DIT

)

16

Page 17: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE III: EMPLOYEES

This Table’s Purpose is to have a listing of employees that work an run the

company this is just to monitor the employees standings in the company for

evaluations and the like.

TABLE COLUMN & THEIR PURPOSE:

EmployeeID(PK): Gives Identification to the

store Employees of True Power Gun Shop.

FullName: Shows the fullname of

Employees in True Power Gun Shop

Age: Specifies the age of the Employee in

the shop. Gender: determines whether an Employee is Male or Female

ContactNum: Gives out the contact info of the Employee HomeAddress:

Shows the current residence and location of the employee. Position: Shows

the Job Position of the Employees in True Power Gun Shop. Salary: Records

the amount of income the employees earn. LicenseID(FK): Elaborates

information about the Employees type of license regarding firearms.

DATATYPE & WIDTH:

Number: QTY (3) Double Sized

Text: QTY (5) Size 255

Currency: Auto Sized

0535

- 00

00 –

799

9 (I-

DIT

)

17

Page 18: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE IV: EMPSCHED

This table’s purpose is to act as the Work Schedule Table of employees that are

working in True Power Gun Shop and be a basis if anyone is late or on time.

TABLE COLUMN & THEIR PURPOSE:

EmpSchedID(PK): Represents the

Identification of a work schedule row.

WorkDay: The specific Day an

Employee should report to work in the shop this is based on ‘the days of the week’

format (MTWThFStSn). TimeIn: The Time an Emplioyee is expected to start working

in the shop. TimeOut: The Time an Employee is expected to close and leave the

shop EmployeeID(FK): This distinguishes the Employee that logged in a certain date

and timeline.

DATATYPE & WIDTH:

Text: Size 255

Date: Not Specified

Time: Not Specified

Number: Double Sized

0535

- 00

00 –

799

9 (I-

DIT

)

18

Page 19: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TABLE V: LICENSESHIP

The purpose of this table is to show further details on firearm licensing in True

Power Gun Shop. This table provides much specifics on licenses. It relates to

other table that rely on this type of information.

TABLE COLUMN & THEIR PURPOSE:

LicenseID(PK): Gives

Identification to a certain

firearm license present in

the Table. LicenseType:

Specifies the type of

firearm license listed in the table Details: Gives out important details and

information regarding on the specific firearm license present in the table.

DATA TYPE & WIDTH:

Text: QTY (3) size 255

0535

- 00

00 –

799

9 (I-

DIT

)

19

Page 20: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

CHAPTER III: DEVELOPMENT

5. Scripts Listing

This section of the Documentation shall populate a list of syntaxes that are

necessary for the overall performance of True Power Gun Shop Database System.

These scripts or encodings are a mixture of Structured Query Language, Visual

Basic, plus MS Access Formatting and Validation Rule syntaxes which greatly

influences our Database System and will be categorized accordingly.

Structured Query Language Scripts

Create Table Command

The SQL coding used to construct tables for the Ronin Arms Inc. Database.

The manner of coding used to create a

new table in MS ACCESS with SQL.

This coding is responsible for all the

tables contained in the Ronin Arms Inc.

Database.

Insert Into Command

This is a standard SQL Coding for imputing records in a Table within a

database in MS Access. I Used this for Ronin Arms Inc.’s behalf.

0535

- 00

00 –

799

9 (I-

DIT

)

20

Page 21: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Select Statements

The Select Statements applied into the True Power Gun Shop Database

System are necessary for running queries through the purchase buttons

within the Customer Forms.

This is the Select Statement

used to show a record of

LongGuns purchased by particular clients in the Customer Records Form.

This is the Select Statement

used to show a record of

HandGuns purchased by particular clients in the Customer Records Form.

This is

the Select

Statement used to show a summary of the all purchases of customers in a record.

0535

- 00

00 –

799

9 (I-

DIT

)

21

Page 22: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Visual Basic Codes

User Login Screen Syntax

These are the Visual Basic Codes responsible for giving the interactive behavior and

functions of the user log in screen at the beginning of the True Power Gun Shop

Database System.

Technically, the code above is encoded into event builder of the ‘Enter’ button

found within the user log in screen. Its primary purpose is to designate a specific

Username and Password to the respective fields on the user log in form. The

syntaxes also executes an IF ELSE conditional statement for confirming whether the

log in details imputed are correct or not.

When the correct user log in details are entered into the screen it will display

a splash screen which directs to the database systems main menu, else, a message

box will appear and alert the user that they entered the wrong username and

password.

0535

- 00

00 –

799

9 (I-

DIT

)

22

Page 23: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Splash Screen Syntax

This is the Visual Basic codes that are responsible for displaying a splash screen

once the user has been granted access into the True Power Database System past

the User Log In Screen.

In a sense, a splash screen is

necessary for introducing the user

into the True Power Database

System.

The Visual Basic Syntaxes exhibited ere are set on a timer for five seconds and

loads up and closes then directs the user into the Main Menu of the True Power Gun

Shop Database.

Payroll Calculator Syntax

This is a short Visual Basic Code which conducts calculations for the simple payroll

calculator that solves for the net income of the Employees in True Power Gunshop.

As we can see, it is just a

plain equation enclosed in

square braces since it is intrinsically a syntax which is understood by visual basic

compilers.

0535

- 00

00 –

799

9 (I-

DIT

)

23

Page 24: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

MS Access Format and Validation Rules

These are the scripts to enforce data specific input into the True Power Database

System’s Table Forms.

Validation RuleField it is Applied to Syntax Purpose

Age Is Not Null And >= 18

This is a conditional

statement used for integers

that limit the value of an

entity’s age into 18 years old

and above.

Gender Is Not Null Or "M or F"

This is useful for simple

choices such as

Male/Female.

E-MailIs Not Null And ((Like "*?@?*.?

*") AND (Not Like "*[ ,;]*"))

Requires at least one

character, @, at least one

character, dot, at least one

character. Space, comma,

and semicolon are not

permitted.

All Fields Is Not NullProhibits use of empty fields.

FormatField it is Applied to Syntax Purpose

Price and Salary “Php” #,###.##

This is to change the Dollar

currency into Peso with

specific numeric and decimal

places

0535

- 00

00 –

799

9 (I-

DIT

)

24

Page 25: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

6. Testing

In order to ensure the performance certain programs or spreadsheet

applications such as “True Power Gun Shop Database System” it has to undergo a

series of testing to see whether or not it’s Logical & Physical components work. It has

been realized that the tables within the database system we are working on is

constructed in Structured Query Language was then interpolated with database

management features using a form with command buttons for interactivity which then

serves as graphical user interface.

Therefore, the database will be tested according to Structured Query

Language Syntaxes and its Form Design composure.

6.1 Test Plan

To efficiently evaluate whether the components contained in the True Power

Gun Shop are functional. It will be tested according to its physical and logical

features. The testing will be enacted through the traditional method of evaluating

technologically crafted programs called “test casing”.

However, this section of the chapter shall only test the necessary parts of the

Database System of True Power Gunshop and will mostly focus on the management

features added into the spreadsheet, where in, Structured Query Language

commands will be the logical data and the Form Design Objects the physical data.05

35 -

0000

– 7

999

(I-D

IT)

25

Page 26: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

6.2 Test Cases

TEST CASE 01

OBJECTIVETo see whether the code for creating tables does its job.

(using CUSTOMERS Table as our standard)

TEST DATA

EXPECTED TEST RESULT

It should produce a table named ‘CUTOMERS’ in the

navigation bar

ACTUAL TEST RESULT

CONCLUSION

The syntax for creating tables for the True Power Gun Shop

Database System does generate tables and does not return

any errors.

0535

- 00

00 –

799

9 (I-

DIT

)

26

Page 27: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 02

OBJECTIVE

To see whether the code for inserting data values into tables

does its job. ( using CUSTOMERS scripts as our standard)

TEST DATA

EXPECTED TEST

RESULT

The data records should be imputed in our Sample Customers

Table. Which we made in test case 1.

ACTUAL TEST

RESULT

CONCLUSION

The INSERT INTO statement for appending records in our

sample table worked as expected without errors.

0535

- 00

00 –

799

9 (I-

DIT

)

27

Page 28: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 03

OBJECTIVETo See If Visual Basic syntax used to assign a username and

password for the True Power Database System works.

TEST DATA If UserName = "Admin" And Password = "Admin" Then

EXPECTED TEST

RESULT

The True Power Gun Shop “User Login screen” should

authorize access into the Database System when the user

inputs “Admin” as Username and Password.

ACTUAL TEST

RESULT

CONCLUSION

The Visual Basic Script Used to grant user access to the True

Power Gun Shop Database does work like it’s supposed to.05

35 -

0000

– 7

999

(I-D

IT)

28

Page 29: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 04

OBJECTIVE

To see if the Visual Basic codes to display a Message Box that

notifies the user that the username and password they entered

grants them access into the database.

TEST DATA

EXPECTED TEST

RESULT

The Visual Basic Syntax used to display a message box, that

notifies the user if the username and password is valid, should

pop up and say “Access Granted” to indicate authorization.

ACTUAL TEST

RESULT

CONCLUSION

The Visual Basic Code for the validation of True Power Gun

Shop’s Login Screen works properly without errors.

0535

- 00

00 –

799

9 (I-

DIT

)

29

Page 30: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 05

OBJECTIVE

Testing if the Message Box Visual Basic code for

welcoming the user once they have passed through the

True Power Gun Shop Database System Login Screen

works.

TEST DATA

EXPECTED TEST RESULT

The Visual Basic code to welcome the user once they have

passed the user login screen of

ACTUAL TEST RESULT

CONCLUSION

The Visual Basic code to display a welcome message box

when the user has been granted access to the database

works fine without errors.05

35 -

0000

– 7

999

(I-D

IT)

30

Page 31: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 06

OBJECTIVE

To test if the Visual Basic Syntax to alert the user if they

entered the wrong username and password in True Power

Gun Shop Database System shows.

TEST DATA

EXPECTED TEST

RESULT

The Visual Basic Syntax to alert the user if they entered the

wrong username and password in True Power Gun Shop

Database System should pop up.

ACTUAL TEST

RESULT

CONCLUSION

The Visual Basic Syntax to indicate if the user entered an

incorrect username and password for True Power Gun Shop

Database System runs properly without errors.05

35 -

0000

– 7

999

(I-D

IT)

31

Page 32: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 07

OBJECTIVE

To check if the syntax for the splash screen

works and directs to the main menu after 5

seconds.

TEST DATA

Private Sub Form_Timer()DoCmd.Close acForm, "frm_Splash"DoCmd.OpenForm "frm_Main"End Sub

EXPECTED TEST RESULT

The Visual Basic syntax for the Splash Screen

Should welcome the user into the Database

System and direct them to the Main Menu.

ACTUAL TEST RESULT

CONCLUSION The Splash Screen Syntax works flawlessly.05

35 -

0000

– 7

999

(I-D

IT)

32

Page 33: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 08

OBJECTIVE

To evaluate if the Visual Basic syntax

used to compute for the Employee’s

salary is functioning well.

TEST DATA

EXPECTED TEST RESULT

The Visual Basic syntax used to

compute for the Employee’s Salary

should solve for net income.

ACTUAL TEST RESULT

CONCLUSION

The Visual Basic syntax used to

compute for the Employee’s Salary

does solve for net income and doesn’t

show any errors.

0535

- 00

00 –

799

9 (I-

DIT

)

33

Page 34: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 09

OBJECTIVE

Checking if the Structured Query

Language Syntax that should show the

HandGun Purchases of the clients from

the Customers Form works.

TEST DATA

EXPECTED TEST RESULT

When the HandGun Purchase button is

pressed in the Customers form it will

display the Hand Gun Products bought

by the clients.

ACTUAL TEST RESULT

CONCLUSION

The Structured Query Language

Statement runs properly, No Errors

Found.

0535

- 00

00 –

799

9 (I-

DIT

)

34

Page 35: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 10

OBJECTIVE

Checking if the Structured Query Language

Syntax that should show the Long Gun Purchases

of the clients from the Customers Form works.

TEST DATA

EXPECTED TEST RESULT

When the Long Gun Purchase button is pressed in

the Customers form it will display the Hand Gun

Products bought by the clients.

ACTUAL TEST RESULT

CONCLUSION

The Structured Query Language command runs

accordingly, no errors detected.

0535

- 00

00 –

799

9 (I-

DIT

)

35

Page 36: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 11

OBJECTIVE

To see if the Structured Query Language syntax for displaying

the summary of the purchases by clients in the customer form

works.

TEST DATA

EXPECTED TEST

RESULT

The Structure Query Language Syntax used to display the

client purchase summary should show into the Customers

Form once the ‘Customer Purchase Summary’ is pressed.

ACTUAL TEST

RESULT

CONCLUSION

The Structured Query Language command works well and

doesn’t return any errors.05

35 -

0000

– 7

999

(I-D

IT)

36

Page 37: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 12

OBJECTIVE

Checking if the validation rule encryption for standardizing a

certain age group in the forms of True Power database system

only allows imputation of ages above 18.

TEST DATA Is Not Null And >=18

EXPECTED

TEST

RESULT

The validation rule encryption to standardize a certain age

group in the forms of True Power database system should

only allow imputation of ages above 18.

ACTUAL

TEST

RESULT

CONCLUSIONThe validation rule syntax only accepts ages above 18 years

old. Without errors.

0535

- 00

00 –

799

9 (I-

DIT

)

37

Page 38: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 13

OBJECTIVE

Testing if the validation rule encryption used to limit the value of

the gender fields in the True Power Database System only

allows Not Null, M or F data.

TEST DATA Is Not Null Or "M or F"

EXPECTED

TEST

RESULT

The validation rule for the Gender fields in the True Power

Database System should only limit the data input into M or F

and alerts the user if the conditions aren’t met

ACTUAL

TEST

RESULT

CONCLUSIO

N

The Validation rule for the Gender Fields work without any

errors.

0535

- 00

00 –

799

9 (I-

DIT

)

38

Page 39: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 14

OBJECTIVE

Checking to see if the syntax for

formatting the currency values of True

Power Gun Shop Database works well.

TEST DATA "Php "#,###.##

EXPECTED TEST RESULT

The syntax for formatting currency

values in the True Power Gun Shop

Datanbase system should convert the

dollar sign into peso and has two

decimal places.

ACTUAL TEST RESULT

CONCLUSION No Errors Detected.

0535

- 00

00 –

799

9 (I-

DIT

)

39

Page 40: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

TEST CASE 15

OBJECTIVE To see if the validation rule for Email Address works.

TEST DATA Is Not Null And ((Like "*?@?*.?*") And (Not Like "*[ ,;]

EXPECTED

TEST RESULT

The validation rule for Email Addresses should only accept a

suitable format for such data.

ACTUAL TEST

RESULT

CONCLUSIONIt only accepts the standard format for email addresses and is

devoid of errors.

0535

- 00

00 –

799

9 (I-

DIT

)

40

Page 41: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

6.3 Test Log

DyunTats Payroll System Test Log

Project:

IT419

System:

Database

Build:

Database

Management

System

Config:

Default

Tool:

MS Access 2007

Event:

N/A

Date:

2012.02.28

Time:

6:10 - 7:20 PM

Tester:

Carmen Lim

Result:

No Errors Detected.

Results

Test Script Version Result

Test Case: 1 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 2 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 3 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 4 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 5 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 6 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 7 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 8 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 9 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 10 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 11 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 12 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 13 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 14 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Test Case: 15 Passed: Yes Failed: No Deferred: No Comment: Error-Free

Metrics

Metric: LOC Calculation: 84

Metric: LLOC Calculation: 276

Signature: Ma. Carmen N. Lim Date: 2011.02.28

0535

- 00

00 –

799

9 (I-

DIT

)

41

Page 42: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

6.4 Screen Dumps

This is the portion where screen shots of the True Power Database System is going

to be depicted. The author preferred to include details of buttons in ere as well as she

found it necessary.

The User Login Screen

Button PurposeThis is where the actions in this form

takes place through Visual Basic codes.

It processes the data imputed into the

username and password field for

verification or rejection.

Simply closes the USER LOG IN

SCREEN and the Database System as a

whole.

0535

- 00

00 –

799

9 (I-

DIT

)

42

Page 43: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Splash Screen

Elements DescriptionThe Label tool from the Form Design

Tool Ribbon provided the texts the user

sees into the screen namely the title,

subtitle, details etc.

The rectangle shape tool provided the

white background for the splash screen

0535

- 00

00 –

799

9 (I-

DIT

)

43

Page 44: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Main Menu Screen

Button Purpose‘Open Form’ button linked to Employee

Records Form

‘Open Form’ button linked to

Manufacturer Records Form

‘Open Form’ button linked to Customer

Records Form

‘Open Form’ button linked to Firearm

License Records Form

0535

- 00

00 –

799

9 (I-

DIT

)

44

Page 45: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Button PurposeOpen Form’ button linked to Hand Gun

Inventory Form

‘Open Form’ button linked to Long Gun

Inventory Form

‘Open Form’ button linked to Melee

Weapons Inventory Form

‘Open Form’ button linked to

Ammunitions Inventory Form

‘Open Form’ button linked to Firearm

Equipments Inventory Form

‘Open Form’ button linked to Firearm

Accessories Inventory Form

A button that closes the whole Database

System from the Main Menu

0535

- 00

00 –

799

9 (I-

DIT

)

45

Page 46: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Employee Record Form

Button Purpose Button PurposeOpen Form Button linked

to Employee Schedule

Log.

Delete Record

Open Form Button linked

to Firearm License Details.Go To First Record

Open Form Button linked

to Payroll Calculator.Go To Previous Record

Add New Record Go To Next Record

Undo Form Edit Go To Last Record

Save Form StateOpen Form Button Linked

to Main Menu.

Print Form Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

46

Page 47: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

0535

- 00

00 –

799

9 (I-

DIT

)

47

Page 48: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Employee Schedule Log

Button Purpose Button PurposeOpen Source Button linked

to Employee Record FormGo To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Delete Record Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

48

Page 49: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Payroll Calculator

Button Purpose Button PurposeA Button which computes

for the Net Income.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Delete Record Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

49

Page 50: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Manufacturer Records

Button Purpose Button PurposeOpen Form’ button linked

to Hand Gun Inventory

Form

Save Form State

‘Open Form’ button linked

to Long Gun Inventory

Form

Print Form

‘Open Form’ button linked

to Melee Weapons

Inventory Form

Delete Record

‘Open Form’ button linked

to Firearm Equipments

Inventory Form

Go To First Record

‘Open Form’ button linked

to Firearm Accessories

Inventory Form

Go To Previous Record

‘Open Form’ button linked

to Firearm License

Records Form

Go To Next Record

Add New Record Go To Last Record

0535

- 00

00 –

799

9 (I-

DIT

)

50

Page 51: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Undo Form EditOpen Form Button

Linked to Main Menu.

Exits the Forms

The Customer Record

Button PurposeOpen Form’ button linked to Hand Gun

Inventory Form

‘Open Form’ button linked to Long Gun

Inventory Form

‘Open Form’ button linked to Melee Weapons

Inventory Form

‘Open Form’ button linked to Ammunitions

Inventory Form

‘Open Form’ button linked to Firearm License

Records Form

0535

- 00

00 –

799

9 (I-

DIT

)

51

Page 52: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

A Run Query Button that displays Hand Gun

Purchases by Clients

0535

- 00

00 –

799

9 (I-

DIT

)

52

Page 53: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Button Purpose Button PurposeA Run Query

Button that

displays Long Gun

Purchases by

Clients

Delete Record

A Run Query

Button that

displays Summary

of Purchases of

Clients

Go To First

Record

Add New RecordGo To Previous

Record

Undo Form EditGo To Next

Record

Save Form StateGo To Last

Record

Print Form

Open Form Button

Linked to Main

Menu.

Exits the Forms05

35 -

0000

– 7

999

(I-D

IT)

53

Page 54: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Firearm License Types

Button Purpose Button PurposeOpen Form Button linked

to Employee RecordPrint Form

Open Form Button linked

to Customer Record.Delete Record

Open Form Button linked

to Manufacturers Record.Go To First Record

Open Form Button linked

to Ammunitions InventoryGo To Previous Record

Add New Record Go To Next Record

Undo Form Edit Go To Last Record

Save Form StateOpen Form Button Linked

to Main Menu.

Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

54

Page 55: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

0535

- 00

00 –

799

9 (I-

DIT

)

55

Page 56: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Hand Gun Items Inventory

Button Purpose Button PurposeOpen Form Button linked

to Customer Record.Delete Record

Open Form Button linked

to Manufacturers Record.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

56

Page 57: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Long Gun Items Inventory

Button Purpose Button PurposeOpen Form Button linked

to Customer Record.Delete Record

Open Form Button linked

to Manufacturers Record.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

57

Page 58: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Melee Weapons Inventory

Button Purpose Button PurposeOpen Form Button linked

to Customer Record.Delete Record

Open Form Button linked

to Manufacturers Record.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

58

Page 59: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Ammunitions Inventory

Button Purpose Button PurposeOpen Form Button

linked to Customer

Record.

Delete Record

Open Form Button

linked to Firearn

License Type.

Go To First Record

Add New RecordGo To Previous

Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button

Linked to Main Menu.

Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

59

Page 60: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

0535

- 00

00 –

799

9 (I-

DIT

)

60

Page 61: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Firearm Equipments Inventory

Button Purpose Button PurposeOpen Form Button linked

to Manufacturers Record.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Delete Record Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

61

Page 62: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

The Weapon Accessories Inventory

Button Purpose Button PurposeOpen Form Button linked

to Manufacturers Record.Go To First Record

Add New Record Go To Previous Record

Undo Form Edit Go To Next Record

Save Form State Go To Last Record

Print FormOpen Form Button Linked

to Main Menu.

Delete Record Exits the Forms

0535

- 00

00 –

799

9 (I-

DIT

)

62

Page 63: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

0535

- 00

00 –

799

9 (I-

DIT

)

63

Page 64: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

CHAPTER IV: IMPLEMENTATION

7. User Manual

In this part of the documentation we will provide guidelines on how to utilize

and moderate the True Power Gun Shop Database System. It is powered by

Microsoft Access 2007 which is available in later versions of Windows Operating

System. The frameworks of the tables in the database system are Structured Query

Language encryptions. Interactive forms that features textfields and button are

interpolated into those tables.

To begin with, for the user to be able to work their way through the True Power

Database System, they should meet prerequisites such as system requirements

before hand, refer to the details below:

Hardware Requirements

Mouse

Keyboard

CPU

Processor 1.5 GHz or Higher

RAM 64 MB or Higher

Hard Disk Space 1.5 GB or Higher

Software Requirements

Windows XP Home Edition/ Professional CD-ROM Installer

Microsoft Office Access 2007 Installer

When the User already obtained the System Requirements shown above, they are

now ready to put the True Power Gun Shop Database System to use in MS Access

2007

Monitor (800x600 [32-bit] )

Speaker (optional)

PowerBox

USB Flash Drive

0535

- 00

00 –

799

9 (I-

DIT

)

64

Page 65: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Before anything else the True Power Gun Shop Access Database file should be

transferred into the user’s desktop through USB Flash Drive or CD RW since the

copy is originally from the developer.

Transferring the True Power Gun Shop Database Through USB Flash Drive

1.) Plug the USB Device that contains the

True Power Gun Shop Database System

“.accdb” File into the Universal Serial Bus

Port located at the Central Processing

Unit.

2.) Once the Flash Drive is inserted into the

USB port we can

open the device in

‘My Computer’.

Click the START

button at the lower

left corner of the

desktop screen then

click ‘My Computer’

on the left pane of the

Start Menu.

0535

- 00

00 –

799

9 (I-

DIT

)

65

Page 66: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

3.) In the My Computer Window locate your removable flash drive’s disk

4.) Open the USB Flash Drive and

inside you will find the True Power

Database Systems ‘.accdb’ file.

5.) Copy and Paste or simply Drag and Drop it into the desktop to transfer it to

the end-user’s Personal Computer.

Transferring True Power Gun Shop Database System from CD- Rewritable

The procedures are same with the flash drive only we procure the True Power

Gun Shop Database System .accdb file from the CD-ROM Drive.

1.) Insert the CD RW into the CD-ROM Drive at the Central Processing Unit.

2.) Once the CD RW has loaded, press the START button at the lower left corner

of your desktop, click My Computer on the panel.

3.) double the CD Rom Drive Icon then copy & paste the True Power ‘.accdb’ file

into the end user’s desktop.

0535

- 00

00 –

799

9 (I-

DIT

)

66

Page 67: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Opening the True Power Gun Shop Database System

Now that the True Power

Database System .accdb

File has been transferred to

the user’s desktop, we can

now open it in MS Access

2007 by double clicking it’s

icon on the desktop screen.

After double

clicking the Icon

the user is

already in the

Graphical User

Interface of True

Power Database

System. There

are a few other

controls outside

the database screen, but ignore them we have now opened the database system.

0535

- 00

00 –

799

9 (I-

DIT

)

67

Page 68: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Operating and Controlling the True Power Gun Shop Database System

1.) The user is now looking at the True Power Gun Shop Database System’s

graphical user

interface which

shows a User Log In

Screen. Type in

‘Admin’ as the

Username and Password in the fields provided then click ‘ENTER’ button.

2.) You are now granted access and is greeted by the Splash Screen wait for a

few

seconds

and you

will be

lead into

the Main

Menu of

the True

Power

Gun Shop Database System.

The Main Menu Screen serves as the Navigation page for exploring the True

Power Gun Shop Database System. Each button in there directs to a form

assign to it, Click the button you wish to view.

0535

- 00

00 –

799

9 (I-

DIT

)

68

Page 69: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Accessing and Manipulating Forms In the database

1.) From the Main Menu of the True Power Gun Shop Database System select

any form you would like to view through a click of a button.

For this procedure we will use Employee Record Form to as our sample.

0535

- 00

00 –

799

9 (I-

DIT

)

69

Page 70: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

You might experience display problems when you first open forms in the database

but that could easily be solved by clicking on the size to fit

form from the windows tool box at the right side of the ribbon.

Utilizing the MS Access Database form for True Power Gun

Shop Database System is simple, all the user has to know is how to use the textfields

and buttons of the form. Details and Functions of the textfields and button will be

explained on the next page. Read ahead.

0535

- 00

00 –

799

9 (I-

DIT

)

70

Page 71: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Form Text Fields & Buttons

The textfields present in the form can show the records that is already contained in

the table associated in the form. On the other hand, u can click on the ADD NEW

RECORD button to fill up the textfields with the data it is requesting and store

them as a new record when you click on the SAVE button .

Text fields are data specific and only accepts input that is relevant to what it is asking

for (e.g. AGE, CONTACT NO., GENDER, etc.) and cannot be left empty as well.

A field that has an arrow pointing down is a combo box and

shows data items in a dropdown list which users can choose from.

To cancel any edits done in the for simply click on the UNDO Button

To Print a Form click on the Print Form Button

To delete a record in the form simply click on the button with a trash can.

Navigating Through The Forms 0535

- 00

00 –

799

9 (I-

DIT

)

71

Page 72: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

To browse and explore records in the form all you have to do is to click on the

buttons shown below.

Button Purpose

This button gets you to the the very First

Record in the form.

This button gets you to the previous

record prior to the one being viewed in

the form.

This button gets you to the Next record

following the one being viewed in the

form.

This button gets you to the the very Last

Record in the form.

This button will return the user into the

Main Menu Screen.

This Exits the form

0535

- 00

00 –

799

9 (I-

DIT

)

72

Page 73: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

Using the Payroll Calculator from the Employee Records

Basically, a Payroll Calculator computes the exact amount of an Employee’s Salary.

To Access the Payroll Calculator follow the procedure below:

1.) By default we begin at

the Main Menu Screen

of True Power Gun

Shop Database

System.

2.) Once in there, click on

the Employee Record.

3.) In the Employee Record click on the Payroll

Calculator button on the ‘Go To’ Panel of the Form.

4.) The user is now in the Payroll Calculator form which

computes the net salary of the Employees.

5.) Click on add new record button then

fill in the required fields except for

the NetPay. Click on COMPUTE

button and FINISH.

6.) Click on SAVE Record button to store that data.

This Concludes our chapter for the USER GUIDE.

0535

- 00

00 –

799

9 (I-

DIT

)

73

Page 74: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

CHAPTER V: CONCLUSION

Now, We have pieced up all the crucial information and directives of

our True Power Gun Shop Database System for our Database Management

System Documentation, This is where we end our write up.

For a closing statement I’d like to part the realizations I encountered

during the making of this documentation. When writing this up, I realized that

Database Management System is a much more secure way to tinker with a

Database System. It makes use of forms which accommodates textfields and

buttons for interactivity and serves as a database’s graphical user interface.

Having forms to mask tables in a database increases user-friendliness

in navigating, accessing and manipulating records. Forms also cloak the

internal workings of the tables in a database providing much secrecy and

minimizing the risk of unwanted record altering.

To sum it all up, implementing a mode of Management in Database

System enforces a secure, robust, dependable, safer and comprehensive

handling of records in a table through Forms & Administrative features. 05

35 -

0000

– 7

999

(I-D

IT)

74

Page 75: IT419 - Database Management Systems [ PROJECT ]

2012

IT419 – Database Management Systems

Project

ACKNOWLEDGEMENTS

I would like to express my deepest gratitude to the following:

My family and closest friend for showering me with love and support throughout

my career path.

God Almighty for giving me the strength and capability to finish this project.

Informatics Festival Mall for providing the education.

Sir Mark Anthony Perez Sabilis for being a patient and efficient lecturer.

Steve Jobs for being an inspiration that failures don’t define misfortune but a

factor that pushes an individual to aim for the zenith of success.

BOW!

0535

- 00

00 –

799

9 (I-

DIT

)

75