Professional Documents
Culture Documents
ON
AIR-LINE RESERVATION
ABOUT VISUAL BASIC
THE "BASIC" PART REFERS TO THE BASIC (BEGINNERS ALL PURPOSE SYMBOLIC
INSTRUCTION CODE) LANGUAGE , A LANGUAGE USED BY MORE PROGRAMMERS
THAN ANY OTHER LANGUAGE IN THE HISTORY OF COMPUTING.
VISUAL BASIC HAS EVOLVED FROM THE ORIGINAL BASIC LANGUAGE AND NOW
CONTAINS SEVERAL HUNDRED STATEMENTS, FUNCTIONS, AND KEYWORDS, MANY
OF WHICH RELATE DIRECTORY TO THE WINDOWS GUI.
WHETHER YOUR GOAL IS TO CREATE A SMALL UTILITY FOR YOURSELF OR
YOUR WORK GROUP, A LARGE ENTERPRISE-WISE SYSTEM, OR EVEN DISTRIBUTED
APPLICATIONS SPANNING THE GLOBE VIA THE INTERNET, VISUAL BASIC HAS THE
TOOLS YOU NEED.
BECAUSE A VISUAL BASIC APPLICATION IS BASED ON OBJECTS, THE STRUCTURE OF ITS
CODE, CLOSELY MODELS ITS PHYSICAL REPRESENTATION
ON SCREEN BY DEFINITION, OBJECTS CONTAIN DATA AND CODE. THE FORM THAT
YOU SEE ON SCREEN IS A REPRESENTATION OF THE PROPERTIES THAT DEFINE
ITS APPERANCE AND INTRINSIC BEHAVIOUR. OBJECTS ARE CENTRAL TO VISUAL
BASIC PROGRAMMING.
2. Scope of work
3. Screen
4. Data Dictionary
6. Entity-Relationship Diagram
13. Bibliography
PROJECT DEFINITION AND OBJECTIVES
OBJECTIVES
1) Main Screen:
This Screen is used to operate this system with menu bar
Screen Menu:
To Run Specified table for add/cancel reservation, add/edit/delete/search
specified flight, airbus, Branch Information.
2) Report Menu:
.
3) Exit Menu:
ID/PW
Details Of Service Provides
SERVICE Table
USER/
Admin Details of AirBus
FARE Table
FLIGHT_SCH Table
PASSENGER
Flight Schedule Details
Passenger Detail
P/W Validation
PASSWORD Table
Bill Payment
PASSENGER
Ticket to Passenger
Details of Update
Seats Record
Details Of
Flights, Seats
Capacity 2.1
Process FLIGHT
AIRBUS Checking Seat Table
Table Confirmation &
Waiting
Update the
Details
2.2
Process For
Cancellation Add Record
Booking
CANCELLATION
Table
ADMIN
Process for LOGIN Table
Login in
Acknowledgement System
Seat Information
4.0 Details of Flight
Process for
BRANCH Table Changing
Details Flight
BRANCH Update
Details Details of Capacity of Seats
6.0
Process 5.0 AIRBUS Table
for Process
Changing For Update the Details
BRANCH Changing
AIRBUS
Details of SERVICE
Charge
7.0 8.0 SERVICE
Details Tax Process for Process For Table
CONTROL Changing Tax, Changing
Table BagCharge & SERVICES Update Changes
BagLimit
Update table
Changes Tax,etc.
ENTITY-RELATIONSHIP DIAGRAM
1 M
AIRBUS HAS FLIGH_SCH
1 M
MAY
FARE FLIGHT_SCH
HAVE
1 M
1 M
FLIGHT_SCH MAY RESERVATION
HAVE
1 M
FLIGHT_SCH MAY CANCELLATION
HAVE
1 M
SERVICE RESERVATION
HAS
1 M
BRANCH RESERVATION
HAS
BRANCH
RESERVATION
Ticket
Processing for
Report
Ticket
BRANCH
CANCELLATION
Processing for
Ticket
Cancelled Ticket Report
3) Flight Fare Report
Requisition Flight AirBus
Flight_Sch
4) Branch Report
BRANCH
File design is more of an art at this time than a science. Much of the
structure of the files for a computer system depends on the individual application
and designer will have to make a number of decisions from the information
developed during the system analysis steps proceeding file design. The designing of
file should be such that it would provide integrity to data storage and reduce the
reluctances by avoiding duplication of records.
Record Design
The first file design decisions involved the data to be stored on the files. As
the design for the new information system is developed, the requirement for
information to be stored for subsequent retrieval will be specified. Related
information is grouped into records, and several types of records may be in a single-
physical file. Record type must be defined, and so must the key fields for retrieval
purposes.
Having defined the basic information content of the files along with the
grouping of logical records, the designer approaches the problems of defining the
word format. Fixed length record are easiest and simple to use from a processing and
programming standpoint. If there is a varying amount of fixed-length information,
header and trailer records can be used. However, if the length of each record must
vary, the variable length records are necessary.
Database files are of different types. The most important among them used in
updating the transactions are Master Files and Transaction files. A Master files
consists of essential system data, which is retained permanentaly. In this file no
repetitive is appeared.
All the validations of the system are done by a set of functions and
procedures. Each function does its own role and is different from each other. Each
provides with a message for the wrong entry and will guide the user how to use
system correctly. Another control procedure employed can be the message given to
the user from time to time. The validated entries will help the user to reduce the
incorrect reports within the limitation o the system and up to the mark as the
system’s specification.
MODULE SPECIFICATION
1) Form Name : frmPassword.frm
Purpose : This program gets start the system it is the main program of
the system. It activates the main menu and all the sub-program are
called step by step under user’s choice.
Table Used : None
a) Auto Code
This procedure is used to generate automatically Primary Key’s
Value. E.g. if Table’s Start Character is ‘AB’ then AB01,AB02 series is
generated for new Record.
Public Sub AutoCode ( Byref RS As ADODB.Recordset ,ByRef
txtCode As Textbox , StartChar As
String, Stringlen As Long)
End Sub
b) Upper Control
This procedure is used to convert small character a-z into
UPPERCASE.
Public Sub UpperControl(KeyAscii As Integer)
End Sub
c) Edit Control
This Procedure is used for edit Current form’s Bound Controls.
Public Sub EditControl(ByRef ActiveForm As Form)
End Sub
d) No Edit Control
This procedure is used for not enabled Bound controls of
Current Form.
Public Sub NoEditControl(ByRef ActiveForm As Form)
End Sub
e) Close Form
This procedure is fired before Close Active Form, for hide non
usable menu.
Public sub CloseForm()
End Sub
f) Open Form
This procedure is used for activate, deactivate related menu,
buttons.
Public Sub OpenForm()
End Sub
g) Center Form
This Procedure is used to Centralized current form.
Public Sub CenterForm(ByRef MyFrom As Form)
End Sub
h) Lock Menu
This procedure is used to deactivate new, edit, search, delete,
return option & activate save, undo option.
Public Sub LockMenu()
End Sub
i) Unlock Menu
This procedure is used to activate new, edit, search, delete,
return option & deactivate save, undo option.
Public Sub UnlockMenu()
End Sub
j) Move Record
This procedure is used to moveRecord on specified position
(First, Previous, Next, Last record).
Public Sub MoveRecord(Index As Integer, MyAdodc As Adodc)
End Sub
k) KeyChecker
This procedure is used to check whether UP Arrow, Down
Arrow, Left/Right Arrow key Pressed and Move record onto
specified Arrow Key. E.g. if left Arrow key is pressed then move
to PREVIOUS record.
Public Sub KeyChecker(KeyCode As Integer)
End Sub
l) Record
This procedure is used to call Add, Edit, Save, Undo, Delete,
Return option of related active From.
Public Sub Record(Index As Integer)
End Sub
GRID CHART
RESER
FLIGH FLIHG CANCELL PASSW
Form Used AIRBUS BRANCH SERVICE CONTROL FARE VATIO
T _SHC T ATION ORD
N
frmPassword
AirReservatonMDI
frmReservation
frmAirBus
frmBranchInfo
frmClassConfirm
frmControl
frmFare
frmFlight
frmFlightSchedule
Operating Envirnment
System Requirement:
Software Requirment:
BIBLIOGRAPHY
This refer to the book which were gone through for completion
of this project report.
- Mastering in VB6.0