Bus Ticketing System

Published on May 2016 | Categories: Types, School Work | Downloads: 23 | Comments: 0 | Views: 275
of 40
Download PDF   Embed   Report

Bus Ticketing System

Comments

Content

Rizal Technological University
College of Engineering and Industrial Technology

Mighty Dragon E-bus Corporation Automated Ticketing System
A Case Study Presented to the College
of Engineering & Industrial Technology
Rizal Technological University

In Partial Fulfillment of the Requirements for
Object Oriented Programming

by:

CLADO, Jonathan S.
GARGANTA, Donald E.
FAJILAGUTAN, Johnfilandrew F.
VALDELLON, Allen G.

1

Rizal Technological University
College of Engineering and Industrial Technology

TABLE OF CONTENTS
1. Introduction
1.1 Background of the Study
1.2 Statement of Objective
1.2.1 General Problem
1.2.2 Specific Problem
1.2.3 Specific Objective
1.3 Significance of the study
1.4 Scope and limitation
2. Methodology of the Study
3. Data gathering procedure and output
4. Proposed System
4.1 System Overview
4.2 Access Specification
4.3 Data Specification
4.4 Screen Layout / Specification
5. System Development Documents
Title page
Table of Contents
List of Tables
List of Figures
List of Appendices

2

Rizal Technological University
College of Engineering and Industrial Technology

1. INTRODUCTION
This chapter will briefly describe about the E- Bus Ticketing
System (EBTS). This is one of proposed solutions that can be used by many
express bus companies especially in the Philippines. Major aspects that will be
discussed include background of the system, problem statement, objectives of
the project and scope of the project.

3

Rizal Technological University
College of Engineering and Industrial Technology

1.1 Background of the study
The decade of the 1990s will undoubtedly be remembered as a
period that witnessed an incredible diffusion of information technology through a
massive and unanticipated spread in the use of personal computers (PC) and
local area networks (LAN), the maturing of the Internet, and the development of
the World Wide Web (WWW) and its enabling browser interface software. It was
a decade that saw the emergence of networking and the widespread sharing of
information, of the transformation from personal to work group computing, and of
enterprise architecture and integrated systems. In short, the 1990s was a time
when the power of computing and document creation passed out of the hands of
traditional centralized providers of data and into the hands of individual worker.
In this modern and globalize world a lot of thing might change.
The way human works are no longer the same. In this modern world speed and
reliability is a key to success. People start to rely on computer technology in
order to accomplish their desire. Computer applications have been such
important tools that slowly eliminate the use of current manual system which take
more time. In fact in doing business, a lot of entrepreneurs used internet and
computer applications to increase their revenue and decrease the cost. The
change has also given big impact to the business of many express bus
companies especially in the Philippines. The idea of e-Ticketing is part of
4

Rizal Technological University
College of Engineering and Industrial Technology
solutions that has been implemented widely by most of express bus company. In
deed the profit grows because people may easily buy the ticket anytime,
anywhere. Moreover most of the house in the Philippines own at least one
computer that can connect to the internet. More than that, the number of PDA
and Smart Phone user increase every year and it will keep on increasing. The
early days of computing, from the 1950-1970s, were dominated by small
business and massive mainframe computers (used primarily for scientific
applications), which managed data inputted from punched cards, produced
massive amounts of paper printouts, and supported an attached network of a few
local and remote terminals.
As part of the solutions, E- Bus Management System is suggested
for a small office management tools. Most of express bus company wouldn't
invest too much on the electronic management system for their company.
Therefore a standalone system is suitable for them because it won't cost them so
much. This system is developed by using Microsoft Visual Basic 6.0 which
provides a simple interface for the user. Microsoft Access used as it database
which is one of the simplest and efficient Database Management System
(DBMS) developed by Microsoft. Moreover, databases typically maintain only the
current value for any given data element. As a result, in a typical transaction
processing system, inviolate business records are difficult, if not impossible, to
5

Rizal Technological University
College of Engineering and Industrial Technology
locate and retrieve. The user of the system will only for the Manager and his
attendant or anyone that have been authorized by the manager. Bus
Management System will include the buses information, drivers' information,
maintenance record and reminder. Search function are also added so that
manager can search for bus information that has been stored in the databases.

1.2 Statement of Objective
In the Philippines some other bus companies are using old format of
transaction like ticketing in a paper with the amount of the desired route using
color coded papers the problem is that the system does not record the
transaction specially the time, date and bus number.

1.2.1 General Problem
In the Philippines, most of the driver information was kept in a
file. Therefore it is quite hard for them to search the driver information when
needed. Moreover it uses a lot of papers in and increase of data lost because no
record provided for the data. Some of the data is quite hard to read because the
form was filled up by hand writing. There is also another problem where some of
the form has been screwed up by dust and smudge. The problems that occur in
Bus Information is that to track its transaction log record. It takes quite a time in
6

Rizal Technological University
College of Engineering and Industrial Technology
order to find the necessary transaction log record when needed. In current
system, manager will check the transaction log record at the log book. The usage
of log book may cause human mistake for example spelling, hand writing and
others. More over if the manager is on leave, attendant may forgot the
transaction log record date because they usually didn't went into the office.

1.2.2 Specific Problem
To transact customers using our system which include the starting
route point to the endpoint with date and time, bus number ticket type (Regular,
Student/ Senior Citizen) discounted price and total price and will be save to the
transaction log for future reference use and for record keeping. It has multi-user
function which the manager could use to create new account for the cashier
transaction.
Our System was created to lessen the long queue of the customer
and to have a database where the transaction log was kept.

1.2.3 Specific Objective
There are three main objectives that must be achieved by developing the
system. These objectives are implemented through the use of some familiar

7

Rizal Technological University
College of Engineering and Industrial Technology
function in Visual Basic 6.0 and Microsoft Access. These objectives are as
follows:
1.2.3.1 To record all Transaction log Report activities
Transaction log Report is one of the crucial parts in Bus Management
System. Transaction log Report record ensures the safety on passenger.
Transaction log Report record is important to ensure that we could easily check
for the bus driver information, bus ID, date and time of transaction. The
Transaction log Report is added with so that manager could conveniently review
transaction history.
1.2.3.2 -To Automate the Manual system
To make it easier for the attendant to Input the desired route of the
customer and how much will they pay for the fare price
1.2.3.3 -To Add new user to use the system
The Manager will be authorize to add new user to use the system, and
transact to the customers.

1.3 Significance of the study
This project will benefit the following:
The Customer will be the foremost beneficiary of the proposed system,
because the transaction will be faster and more efficient.
8

Rizal Technological University
College of Engineering and Industrial Technology
The Employee/ Attendant will be more comfortable because the system is
automated compare to the manual ticketing system.
To the Future Researchers, that would like to undertake studies of similar
nature in the future will have a project they can benchmark with Limitation for the
system will include the data and the user.

1.4 Scope and limitation
Limitation for the system will include the data and the user. Only 30
data can be stored and only the manager and his attendant can use the system.
This is just for small office management system, therefore 30 data is quite a big
number that it could have. Our system can’t back-up and restore the transaction
record and tally the total income of the transaction report.
The data range is only for 4 drivers and 4 buses. More than that will
cause a slow respond from the system because we limit the number of drivers
which is relevant to the number of our buses which is 4 buses.

2 .Methodology of the Study
a set of methods, rules, or ideas that are important in a science or art
: a particular procedure or set of procedures.
Methodology is the systematic, theoretical analysis of the methods
applied to a field of study. It comprises the theoretical analysis of the body of
9

Rizal Technological University
College of Engineering and Industrial Technology
methods and principles associated with a branch of knowledge. Typically, it
encompasses concepts such as paradigm, theoretical model, phases and
quantitative or qualitative techniques

A system of broad principles or rules from

which specific methods or procedures may be derived to interpret or solve
different problems within the scope of a particular discipline. Unlike an algorithm,
a methodology is not a formula but a set of practices.
Research Methodology
is a systematic way to solve a problem. It is a science of studying
how research is to be carried out. Essentially, the procedures by which
researchers go about their work of describing, explaining and predicting
phenomena are called research methodology. It is also defined as the study of
methods by which knowledge is gained. Its aim is to give the work plan of
research. The process used to collect information and data for the purpose
of making business decisions.
The methodology include publication research, interviews, surveys and

other

research techniques, and could include both present and historical information.
The purpose of the research methodology is to provide a view of the
methods that was applied into this research. In addition, it defines the system
development life cycle (SDLC) for developing the system.

10

Rizal Technological University
College of Engineering and Industrial Technology
The method defined in this research methodology that is used to collect
data is based on the real world problem pertaining to real time inventory report
generation and to define system requirements. Prototyping is used as
methodology for SDLC. Once the initial requirements are ready, the next step is
to design the system, followed by coding and testing.
Development Methodology
A software development methodology or system development
methodology is a framework that is used to structure, plan, and control the
process of developing an information system.
INITIATION PHASE
During the first of these phases, the initiation phase, the project
objective or need is identified; this can be a business problem or opportunity. An
appropriate response to the need is documented in a business case with
recommended solution options. A feasibility study is conducted to investigate
whether each option addresses the project objective and a final recommended
solution is determined. Issues of feasibility (“can we do the project?”) and
justification (“should we do the project?”) are addressed.
Once the recommended solution is approved, a project is initiated
to deliver the approved solution and a project manager is appointed. The major
deliverables and the participating work groups are identified, and the project
11

Rizal Technological University
College of Engineering and Industrial Technology
team begins to take shape. Approval is then sought by the project manager to
move onto the detailed planning phase.
PLANNING PHASE
The next phase, the planning phase, is where the project solution
is further developed in as much detail as possible and the steps necessary to
meet the project’s objective are planned. In this step, the team identifies all of the
work to be done. The project’s tasks and resource requirements are identified,
along with the strategy for producing them. This is also referred to as “scope
management.” A project plan is created outlining the activities, tasks,
dependencies, and timeframes. The project manager coordinates the preparation
of a project budget by providing cost estimates for the labor, equipment, and
materials costs. The budget is used to monitor and control cost expenditures
during project implementation.
Once the project team has identified the work, prepared the
schedule, and estimated the costs, the three fundamental components of the
planning process are complete. This is an excellent time to identify and try to
deal with anything that might pose a threat to the successful completion of the
project. This is called risk management. In risk management, “high-threat”
potential problems are identified along with the action that is to be taken on each
high-threat potential problem, either to reduce the probability that the problem will
12

Rizal Technological University
College of Engineering and Industrial Technology
occur or to reduce the impact on the project if it does occur. This is also a good
time to identify all project stakeholders and establish a communication plan
describing the information needed and the delivery method to be used to keep
the stakeholders informed.
Finally, you will want to document a quality plan, providing quality
targets, assurance, and control measures, along with an acceptance plan, listing
the criteria to be met to gain customer acceptance. At this point, the project
would have been planned in detail and is ready to be executed.
IMPLEMENTATION (EXECUTION) PHASE
During the third phase, the implementation phase, the project plan
is put into motion and the work of the project is performed. It is important to
maintain control and communicate as needed during implementation. Progress is
continuously monitored and appropriate adjustments are made and recorded as
variances from the original plan. In any project, a project manager spends most
of the time in this step. During project implementation, people are carrying out
the tasks, and progress information is being reported through regular team
meetings. The project manager uses this information to maintain control over the
direction of the project by comparing the progress reports with the project plan to
measure the performance of the project activities and take corrective action as
needed. The first course of action should always be to bring the project back on
13

Rizal Technological University
College of Engineering and Industrial Technology
course (i.e., to return it to the original plan). If that cannot happen, the team
should record variations from the original plan and record and publish
modifications to the plan. Throughout this step, project sponsors and other key
stakeholders should be kept informed of the project’s status according to the
agreed-on frequency and format of communication. The plan should be updated
and published on a regular basis.
Status reports should always emphasize the anticipated end point in
terms of cost, schedule, and quality of deliverables. Each project deliverable
produced should be reviewed for quality and measured against the acceptance
criteria. Once all of the deliverables have been produced and the customer has
accepted the final solution, the project is ready for closure.
CLOSING PHASE
During the final closure, or completion phase, the emphasis is on
releasing the final deliverables to the customer, handing over project
documentation to the business, terminating supplier contracts, releasing project
resources, and communicating the closure of the project to all stakeholders. The
last remaining step is to conduct lessons-learned studies to examine what went
well and what didn’t. Through this type of analysis, the wisdom of experience is
transferred back to the project organization, which will help future project teams.
EXAMPLE: PROJECT PHASES ON A LARGE MULTINATIONAL PROJECT
14

Rizal Technological University
College of Engineering and Industrial Technology
A U.S. construction company won a contract to design and build the first
copper mine in northern Argentina. There was no existing infrastructure for either
the mining industry or large construction projects in this part of South America.
During the initiation phase of the project, the project manager focused on
defining and finding a project leadership team with the knowledge, skills, and
experience to manage a large complex project in a remote area of the globe. The
project team set up three offices. One was in Chile, where large mining
construction project infrastructure existed. The other two were in Argentina. One
was in Buenos Aries to establish relationships and Argentinian expertise, and the
second was in Catamarca—the largest town close to the mine site. With offices
in place, the project start-up team began developing procedures for getting work
done, acquiring the appropriate permits, and developing relationships with
Chilean and Argentine partners.
During the planning phase, the project team developed an integrated
project schedule that coordinated the activities of the design, procurement, and
construction teams. The project controls team also developed a detailed budget
that enabled the project team to track project expenditures against the expected
expenses. The project design team built on the conceptual design and developed
detailed drawings for use by the procurement team. The procurement team used
the drawings to begin ordering equipment and materials for the construction
15

Rizal Technological University
College of Engineering and Industrial Technology
team; develop labor projections; refine the construction schedule; and set up the
construction site. Although planning is a never-ending process on a project, the
planning phase focused on developing sufficient details to allow various parts of
the project team to coordinate their work and allow the project management team
to make priority decisions.
The implementation phase represents the work done to meet the
requirements of the scope of work and fulfill the charter. During the
implementation phase, the project team accomplished the work defined in the
plan and made adjustments when the project factors changed. Equipment and
materials were delivered to the work site, labor was hired and trained, a
construction site was built, and all the construction activities, from the arrival of
the first dozer to the installation of the final light switch, were accomplished.
The closeout phase included turning over the newly constructed plant to
the operations team of the client. A punch list of a few remaining construction
items was developed and those items completed. The office in Catamarca was
closed, the office in Buenos Aries archived all the project documents, and the
Chilean office was already working on the next project. The accounting books
were reconciled and closed, final reports written and distributed, and the project
manager started on a new project.

16

Rizal Technological University
College of Engineering and Industrial Technology

3. Data gathering procedure and output

17

Rizal Technological University
College of Engineering and Industrial Technology
.

We developed the E-BUS TICKETING SYSTEM. First, we do our own

research about the concept of operations of ticketing system. What is the
significance of our system? How the operation works? How will it execute? Next,
we planned it in scratch papers.
We wrote plans and drawn phases of our system flow and execution.
Then, our group have decided to bring each member their own materials that will
be used to develop a system.
The next step is that we try to develop a simple program in Visual Basic
6.0 and encode each forms that will be used in our program system.
We applied all the information that was used in our hand outs and the skill that
we had learned in our programming subjects and focused especially in Object
Oriented Lecture and Laboratory Subject. After we created a simple program
system, our group designed all forms and formulated methods that will make our
system more presentable.
Next, we researched about the system development document
requirements for our project just like Methodology of the Study, data gathering
procedure and output, proposed system, scope and limitations and introduction.
Lastly, we finalized all the documents and system programs.

18

Rizal Technological University
College of Engineering and Industrial Technology

4. Proposed System
The aim of proposed system is to develop a system of improved bus
transaction. The proposed system can be used to automate the crude manual
ticketing system. The system provides real time transaction and reduces the
manual work. The existing system has several disadvantages and many more
difficulties to work well. The proposed system tries to reduce these difficulties up
to some extent. The proposed system will help the user to reduce the workload
and mental conflict. The proposed system helps the user to work user friendly
and he can easily do his jobs without time lagging.

4.1 System Overview
Mighty Dragon E-bus Corporation (Head office branch) was established in
2015 .The office was made of Brick walls. It was located in corner of Tiyaga St.
and Sgt.Bumatay St. Barangka Drive, Mandaluyong City.
The Office uses manual encoding and file based system to save records.
The Proposed system in which we are called “Mighty Dragon E-bus Corporation
Automated Ticketing System” that will record the transaction logs..

19

Rizal Technological University
College of Engineering and Industrial Technology
4.2 Process Specification

System Requirement
(2) 21" HP Monitors
Pentium 4 2.0GHz
Seagate 160 GB
Any 2GB DDR2 Ram

Peripherals:
any keyboard & mouse
EPSON T10 printer
Internet Connection

Software Requirement
20

Rizal Technological University
College of Engineering and Industrial Technology
Visual Basic 6.0

Microsoft Access 2003

Analysis
In Analisation we implement how our system operation will execute or work.
Program Design
After the analization we design our system plan in a scratch paper and the
drawn phases of how our system flow will operate.
Coding
The coding step is we tried to develop a simple program in Visual basic 6.0
and encode each forms that will be used in our program system.
Testing
After we finish the coding process, we test the program to know its system
flow, maintenance, scope, limitation and errors.
Operation
After we tested the system program we can now operate and run the system
to determine its possible recommendations.

4.3 Data Specification
21

Rizal Technological University
College of Engineering and Industrial Technology
Mighty Dragon Corporation is the company and our concept of operation is
to give our client hassle free and automated bus ticketing system. The attendant/
user must first log-in into the system using username and password. The
Administrator must create a new or another user using multi-user log-in
registration. Our bus company have 4 buses which route is going to OrtigasTaytay with the price ranges 19-23 pesos depending on the ticket type and route
of the passenger
.4.4 Screen Layout/ Specification
The form 1 shows our logo

Loading Screen
The form 2 shows the log-in screen

22

Rizal Technological University
College of Engineering and Industrial Technology

Log-in Screen

Menu screen

23

Rizal Technological University
College of Engineering and Industrial Technology

CONOPS (Concept of Operation) Screen

Our Buses (with their corresponding number) Screen

24

Rizal Technological University
College of Engineering and Industrial Technology

Route Map Screen

Payment Form Screen
25

Rizal Technological University
College of Engineering and Industrial Technology

Official Receipt

Audit Screen

26

Rizal Technological University
College of Engineering and Industrial Technology

Register Screen

About Us Screen
Instruction Screen
27

Rizal Technological University
College of Engineering and Industrial Technology
-

Explain word by word the right process of using our system for the ease of
the end user.

28

Rizal Technological University
College of Engineering and Industrial Technology

29

Rizal Technological University
College of Engineering and Industrial Technology

30

Rizal Technological University
College of Engineering and Industrial Technology

List of Tables

MS Access Database Preview of the transaction record

31

Rizal Technological University
College of Engineering and Industrial Technology

MS Access Database of the defined username and user type
List of Figures

E-bus Fare
Matrix
Route Map / Route in Km.
32

Rizal Technological University
College of Engineering and Industrial Technology

List of Appendices
The following selections provide reference material and resources to
supplement the Further Reading selections at the conclusion of the majority of
entries in this book.
Print Resources
-Bidgoli, Hassan, ed. The Internet Encyclopedia. New York: Wiley, 2003.
-Cortada, James W. Historical Dictionary of Data Processing. 3 vols. New York:
Greenwood Press, 1987.
-Client Ticketing System Reporting Issues to Empower Software 16 March, 2009
-Daintith, John, and Edmund Wright. The Facts On File Dictionary of Computer
Science. Rev. ed. New York: Facts On File, 2006.
-De Palma, Paul, ed. Annual Editions: Computers in Society 08/09.
-Department of Transportation and Communications
& Light Rail Transit Authority PPP for the Automatic Fare Collection System
Project for LRT Lines 1& 2 and MRT 3
-Guilford, Conn.: McGraw-Hill/Dushkin, 2007.
-2009, 2004, 2003 by Harry Henderson
Encyclopedia of Computer Science and Technology
-Hackett, Edward J. et al., eds. The Handbook of Science and Technology
33

Rizal Technological University
College of Engineering and Industrial Technology
Studies. 3rd ed. Cambridge, Mass.: MIT Press, 2007.
-2008 Study on electronic ticketing in public transport Mohamed Mezghani
- Online Step-By-Step Guide July 2007

SOURCE CODE
Private price As Integer
Private Sub Combo3_KeyPress(KeyAscii As Integer)
If KeyAscii = 13 Then
'When Enter key is pressed
Combo3.AddItem Combo3.Text
Combo3.Text = ""
End If
End Sub
Private Sub Combo4_Click()
Text3.Text = ""
Text3.Text = Combo4.Text
End Sub
Private Sub Command1_Click()
Tprice.Text = Val(Lblprice.Text) * Val(Text3.Text)
If Option1.Value = True Then
Label11.Caption = "Regular"
Else: Label11.Caption = "Senior/Student"
End If
End Sub
Private Sub Command2_Click()
Form5.Show
Unload Me
End Sub
Private Sub Command3_Click()
34

Rizal Technological University
College of Engineering and Industrial Technology
Form3.Show
Form4.Hide
End Sub
Private Sub Command4_Click()
Text1.Text = ""
Text2.Text = ""
Text3.Text = ""
Text5.Text = ""
Tprice.Text = ""
Lblprice.Text = ""
Combo1.Text = ""
Combo2.Text = ""
Option1.Value = False
Option2.Value = False
End Sub
Private Sub Form_Load()
Combo1.Text = ""
Text1.Text = ""
Combo1.AddItem "Ortigas"
Combo1.AddItem "Meralco"
Combo1.AddItem "Pasig"
Combo1.AddItem "Bonifacio Avenue"
Combo1.AddItem "L.Wood"
Combo1.AddItem "Taytay"
Combo2.Text = ""
Text2.Text = ""
Combo2.AddItem "Taytay"
Combo2.AddItem "L.Wood"
Combo2.AddItem "Bonifacio Avenue"
Combo2.AddItem "Pasig"
Combo2.AddItem "Meralco"
Combo2.AddItem "Ortigas"
End Sub

35

Rizal Technological University
College of Engineering and Industrial Technology
Private Sub Option1_Click()
If Text1.Text = "Ortigas" And Text2.Text = "Meralco" Then
Lblprice = 15
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Pasig" Then
Lblprice = 17
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19
ElseIf Text1.Text = "Ortigas" And Text2.Text = "L.Wood" Then
Lblprice = 21
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Taytay" Then
Lblprice = 23
ElseIf Text1.Text = "Meralco" And Text2.Text = "Ortigas" Then
Lblprice = 15
ElseIf Text1.Text = "Meralco" And Text2.Text = "Pasig" Then
Lblprice = 17
ElseIf Text1.Text = "Meralco" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19
ElseIf Text1.Text = "Meralco" And Text2.Text = "L.Wood" Then
Lblprice = 21
ElseIf Text1.Text = "Meralco" And Text2.Text = "Taytay" Then
Lblprice = 21
ElseIf Text1.Text = "Pasig" And Text2.Text = "Meralco" Then
Lblprice = 15
ElseIf Text1.Text = "Pasig" And Text2.Text = "Ortigas" Then
Lblprice = 17
ElseIf Text1.Text = "Pasig" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19
ElseIf Text1.Text = "Pasig" And Text2.Text = "L.Wood" Then
Lblprice = 21
ElseIf Text1.Text = "Pasig" And Text2.Text = "Taytay" Then
Lblprice = 23
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Meralco" Then
Lblprice = 15
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Pasig" Then
Lblprice = 17
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Ortigas" Then
Lblprice = 19
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "L.Wood" Then
Lblprice = 21
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Taytay" Then
36

Rizal Technological University
College of Engineering and Industrial Technology
Lblprice = 23
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Meralco" Then
Lblprice = 15
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Pasig" Then
Lblprice = 17
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Ortigas" Then
Lblprice = 21
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Taytay" Then
Lblprice = 23
ElseIf Text1.Text = "Taytay" And Text2.Text = "Meralco" Then
Lblprice = 15
ElseIf Text1.Text = "Taytay" And Text2.Text = "Pasig" Then
Lblprice = 17
ElseIf Text1.Text = "Taytay" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19
ElseIf Text1.Text = "Taytay" And Text2.Text = "L.Wood" Then
Lblprice = 21
ElseIf Text1.Text = "Taytay" And Text2.Text = "Ortigas" Then
Lblprice = 23
End If
End Sub
Private Sub Option2_Click()
If Text1.Text = "Ortigas" And Text2.Text = "Meralco" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Pasig" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "Ortigas" And Text2.Text = "L.Wood" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Ortigas" And Text2.Text = "Taytay" Then
Lblprice = 23 - (23 * 0.2)
ElseIf Text1.Text = "Meralco" And Text2.Text = "Ortigas" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "Meralco" And Text2.Text = "Pasig" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "Meralco" And Text2.Text = "Bonifacio Avenue" Then
37

Rizal Technological University
College of Engineering and Industrial Technology
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "Meralco" And Text2.Text = "L.Wood" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Meralco" And Text2.Text = "Taytay" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Pasig" And Text2.Text = "Meralco" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "Pasig" And Text2.Text = "Ortigas" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "Pasig" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "Pasig" And Text2.Text = "L.Wood" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Pasig" And Text2.Text = "Taytay" Then
Lblprice = 23 - (23 * 0.2)
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Meralco" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Pasig" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Ortigas" Then
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "L.Wood" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Bonifacio Avenue" And Text2.Text = "Taytay" Then
Lblprice = 23 - (23 * 0.2)
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Meralco" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Pasig" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Bonifacio Avenue" Then
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Ortigas" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "L.Wood" And Text2.Text = "Taytay" Then
Lblprice = 23 - (23 * 0.2)
ElseIf Text1.Text = "Taytay" And Text2.Text = "Meralco" Then
Lblprice = 15 - (15 * 0.2)
ElseIf Text1.Text = "Taytay" And Text2.Text = "Pasig" Then
Lblprice = 17 - (17 * 0.2)
ElseIf Text1.Text = "Taytay" And Text2.Text = "Bonifacio Avenue" Then
38

Rizal Technological University
College of Engineering and Industrial Technology
Lblprice = 19 - (19 * 0.2)
ElseIf Text1.Text = "Taytay" And Text2.Text = "L.Wood" Then
Lblprice = 21 - (21 * 0.2)
ElseIf Text1.Text = "Taytay" And Text2.Text = "Ortigas" Then
Lblprice = 23 - (23 * 0.2)
End If
End Sub
Private Sub Combo1_Click()
Text1.Text = ""
Text1.Text = Combo1.Text
End Sub
Private Sub Combo2_Click()
Text2.Text = ""
Text2.Text = Combo2.Text
End Sub

Private Sub Timer1_Timer()
Label9.Caption = DateValue(Now)
Label10.Caption = TimeValue(Now)
End Sub

39

Rizal Technological University
College of Engineering and Industrial Technology

40

Sponsor Documents

Or use your account on DocShare.tips

Hide

Forgot your password?

Or register your new account on DocShare.tips

Hide

Lost your password? Please enter your email address. You will receive a link to create a new password.

Back to log-in

Close