AIRLINE
RESERVATION
SYSTEM
Computer Department
CERTIFICATE
This
is
to
certify
that
the
project
work
_______________________________________
is
is
satisfactorily
work
carried
done
by
out
on
__________
______________ in partial fulfillment of the requirement for the award of the degree of
bachelor of computer applications during the academic year 2009-2010.
I appreciate their hard work, honesty and discipline during the training for concerned
project in our organization. The project work was carried out under our supervision and
guidance. This project report or a similar report on the topic has not been submitted for
any other examination and does not form a part of any other course undergone by the
candidate.
__________________
___________________
Project Certified
At T.Y.B.C.A Examination
Examiners: 1. ________________
Date : _____________
TOPICS
PAGE NO.
1.
PROJECT TITLE
2.
COLLAGE CERTIFICATE
PROJECT REPORT
JOINING LETTER
ACKNOWLEDGEMENT
COMPANY PROFILE
10
8.1
HARDWARE/SOFTWARE CONFIGURATION
11
8.2
12
8.3
FRONT-END USED
14
8.4
BACK-END USED
15
8.5
SYSTEM ANALYSIS
16
17
9.1
REQUIREMENT ANALYSIS
20
9.2
SCOPE OF SYSTEM
22
10
SYSTEM DESIGN
23
10.1
24
10.2
27
DATA-DICTIONARY
32
TABEL DESIGN
34
39
12.2
REPORTS
89
13
TESTING
103
14
COUNCLUSION
107
15
BIBLIOGRAPHY
108
11
11.1
12
2. ________________
INDEX
Project Report
Project
On
AIRLINE RESERVATION
SYSTEM
Submitted By:
Guidance By:
RIDDHI R NAIK.
ANKITA R PATEL.
MISS.PREMAL SHAH.
Develop For:
LOTUS-HOLYDAYS
NEAR BAI AVA BAI HIGH SCHOOL
VALSAD-396001
ACKNOWLEDGEMENT
We are the student of T.Y.B.C.A. in DUIAS & DSIM&C
Valsad. We feel great Pleasure this project at this stage,
which is outcome of us and others who have helped
throughout the project. We hope you will acknowledge
this project.
We are extremely grateful to collage unit for allowing us to
do this project and the excellent infrastructural facilities
made available.
We are sincerely thankful to the manager and officers of
the unit for providing us necessary information about the
required project which we have incorporated in this
project.
We thank each and everybody related directly or
indirectly with the completion of the project without
immense support and advice it was not possible for us to
undertake the project entitled AIRLINE RESERCATION
SYSTEM.
THANKING SINCERELY,
NAIK RIDDHI R
PATEL ANKITA R
8
COMPANY PROFILE
The main work of airline reservation system is booking
tickets,easily payment,view allcustomers reports and
viewall flight details.
COMPANY NAME:
LOTUS HOLIDAYS
Near bai ava bai high school,
valsad-396001.
COMPANY OWNER:
MR.KEYUR SHAH.
10
HARDWARE / SOFTWARE
CONFIGRATION:-
:-80GB
RAM
:-1GB
11
OPERATING SYSTEM
VISUAL BASIC.NET 2005
MICROSOFT ACCESS
OPERATING SYSTEM
13
FRONT END
VISUAL BASIC.NET 2005
Visual Basic .NET 2005
Visual Basic .NET 2005 provides the easiest, most
productive language and tool for rapidly building
Windows and Web applications. Visual Basic .NET 2005
comes with enhanced visual designers, increased
application performance, and a powerful integrated
development environment (IDE). It also supports creation
of applications for wireless, Internet-enabled hand-held
devices.
14
BACK END
MICROSOFT ACCESS
Microsoft Access is a relational database management
system from Microsoft, packaged with Microsoft Office
Professional which combines the relational Microsoft Jet
Database Engine with a graphical user interface. It can use
data stored in Access/Jet, SQL Server, Oracle, or any
ODBC-compliant data container. Skilled software
developers and data architects use it to develop powerful,
complex application software. Relatively unskilled
programmers and non-programmer "power users" can use
it to build simple applications without having to deal with
features they don't understand. It supports substantial
object-oriented (OO) techniques but falls short of being a
fully OO development tool.
15
System analysis
PROJECT SCOPE:Our scope is related to maintaining details of Airline
reservation records and Addition, Updating & Deletion
of those records,flight details,booking details,customer
details, payment details.
OBJECTIVES:To manage & maintain all the details of Airline for daily
booking of new customer.
17
18
Much expansive
All above activities is much more expensive
in paper work.
19
REQUIREMENT ANALYSIS:
AIRLINE DETAILS: This module is use to view the
20
21
SCOPE OF SYSTEM
User friendly interface.
Time saving.
Save paper work.
Connecting to database so we use different type of
queries.
Datas are easily approchable.
22
SYSTEM DESIGN
E-R DIAGRAM
DATAFLOW DIAGRAM
DATA DICTIONARY
23
E-R DIAGRAM
In Entity relationship diagram relationship
between entities can be represented using symbols. It
represents over all logical structure of the database. Set
of primary components of ER-diagram is:
1. Data objects
2. Attributes
3. Relationship
4. Various type indication.
The symbol and the notation used in ER-diagram are as
follows:
24
Rectangles:
Ellipses:
It represents attributes.
Diamonds:
Line:
25
E- R DIAGRAM
M_PHONE
NO.
M_NAME
MANAGEMENT
M_ADD
M_ID
RECEIVE
INFO.
C_NAME
C_ID
CUSTOMER
C_ADD
C_PHONE
NO
26
27
28
29
30
31
FIRST LEVEL
32
33
DATA-DICTIONARY
DATA DICTIONARY
A data dictionary is a catalogue a repository of the
element system. As name suggest the elements center
around data and they are structured to meet user
requirements and organization needs. Thus, data
34
35
TABEL DESIGN
1.
FIELD
AIRLINE_CD
AIRLINE_NO
ADD 1
ADD 2
CITY
PINCODE
PHONE_NO
SIZE
10
10
50
50
40
10
20
CONSTRAINTS
PK
36
DISCRIPTION
AIRLINE CODE
AIRLINE NO.
ADDRESS 1
ADDRESS 2
CITY
PINCODE NO.
PHONE NO.
NUMBER
20
37
DATA TYPE
NUMBER/TEXT
TEXT
TEXT
TEXT
NUMBER
TEXT
TEXT
NUMBER
TEXT
SIZE
20
40
50
40
10
30
20
20
25
CONSTRAINTS
PK
38
DISCRIPTION
CUST_ID/NO.
CUST_NAME
CUST_ADDRESS
CUST_CITY
PINCODE_NO.
CUST_STATE
CUST_COUNTRY
CUST_PHONE
CUSTEMAIL_ID
DATA TYPE
NUMBER
NUMBER
NUMBER
TEXT
TEXT
TEXT
DATE/TIME
DATE/TIME
NUMBER
NUMBER
SIZE
10
10
10
40
40
40
8
8
8
3
CONSTRAINTS
PK
FK
39
DISCRIPTION
FLIGHT_CODE
AIRLINE_CODE
FLIGHT_NO
FLIGHT_NAME
FLIGHT FROM
FLIGHT TO
DEPARTURE TIME
ARRIVAL TIME
AMOUNT
TOTAL SEATS
DATA TYPE
NUMBER/TEXT
DATE/TIME
NUMBER/TEXT
TEXT
NUMBER
NUMBER
NUMBER
TEXT
NUMBER
SIZE
20
8
20
40
10
10
8
3
3
CONSTRAINTS
PK
FK
FK
40
DISCRIPTION
BOOKING ID/NO
BOOKING DATE
CUST_ID
CUST_NAME
FLIGHT CODE
FLIGHT_NO
AMOUNT
STATUS
SEAT_NO
DATA TYPE
NUMBER/TEXT
NUMBER/TEXT
NUMBER
NUMBER
NUMBER
NUMBER
NUMBER
NUMBER
DATE/TIME
NUMBER
TEXT
SIZE
20
20
10
8
8
8
8
8
8
10
2
41
CONSTRAINTS
PK
FK
FK
DISCRIPTION
BOOKING ID/NO
CUST_ID/NO
FLIGHT NUMBER
AMOUNT
CASH PAYMENT
CHEQUE PAYMENT
AMOUNT
CHEQUE NUMBER
DATE OF CHEQUE
CREDIT CARD NO
CARD TYPE
42
MAIN FORM
43
44
45
AIRLINES
DETAILS
46
47
48
49
50
51
FLIGHT
DETAILS
52
53
54
55
56
57
58
CUSTOMER
DETAILS
59
60
61
62
63
64
BOOK
DETAILS
65
66
67
'update seat
Dim cmd1 As New OleDbCommand
cmd1.Connection = cn
cmd1.CommandType = CommandType.Text
cmd1.CommandText = "update flight_details set total_seat=total_seat-1
where flight_cd=" & cmbfcd.Text
cmd1.ExecuteNonQuery()
ds.Clear()
ad.Fill(ds, "BOOK_DETAILS")
DG.DataSource = ds.Tables("BOOK_DETAILS")
cleartxt()
BTN_ADD.Enabled = True
BTN_FIRST.Enabled = True
BTN_PRV.Enabled = True
BTN_NEXT.Enabled = True
BTN_LAST.Enabled = True
BTN_CLR.Enabled = False
BTN_SAVE.Enabled = False
End Sub
Private Sub BTN_FIRST_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_FIRST.Click
cnt = 0
TXTACD.Text = ds.Tables("customer_details").Rows(cnt).Item(0)
txtdt.Text = ds.Tables("customer_details").Rows(cnt).Item(1)
cmbcid.Text = ds.Tables("customer_details").Rows(cnt).Item(2)
TXTnm.Text = ds.Tables("customer_details").Rows(cnt).Item(3)
cmbfcd.Text = ds.Tables("customer_details").Rows(cnt).Item(4)
TXTfno.Text = ds.Tables("customer_details").Rows(cnt).Item(5)
TXTchr.Text = ds.Tables("customer_details").Rows(cnt).Item(6)
txtsno.Text = ds.Tables("customer_details").Rows(cnt).Item(7)
End Sub
Private Sub BTN_PRV_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_PRV.Click
cnt = cnt - 1
If cnt = -1 Then
cnt = 0
End If
TXTACD.Text = ds.Tables("customer_details").Rows(cnt).Item(0)
txtdt.Text = ds.Tables("customer_details").Rows(cnt).Item(1)
cmbcid.Text = ds.Tables("customer_details").Rows(cnt).Item(2)
68
69
End Sub
Private Sub BTN_CLR_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_CLR.Click
cleartxt()
BTN_ADD.Enabled = True
BTN_FIRST.Enabled = True
BTN_PRV.Enabled = True
BTN_NEXT.Enabled = True
BTN_LAST.Enabled = True
BTN_CLR.Enabled = False
BTN_SAVE.Enabled = False
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
Private Sub cmbcid_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cmbcid.SelectedIndexChanged
Dim adf As New OleDbDataAdapter("select * from customer_details where
cust_id='" & cmbcid.Text & "'", cn)
Dim dsf As New DataSet
dsf.Clear()
adf.Fill(dsf, "customer_details")
TXTnm.Text = dsf.Tables("customer_details").Rows(0).Item(1)
End Sub
Private Sub cmbfcd_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cmbfcd.SelectedIndexChanged
Dim adf As New OleDbDataAdapter("select * from flight_details where
flight_cd=" & cmbfcd.Text, cn)
Dim dsf As New DataSet
dsf.Clear()
adf.Fill(dsf, "flight_details")
TXTfno.Text = dsf.Tables("flight_details").Rows(0).Item(2)
lblfnm.Text = dsf.Tables("flight_details").Rows(0).Item(3)
TXTchr.Text = dsf.Tables("flight_details").Rows(0).Item(9)
End Sub
End Class
70
PAYMENT
DETAILS
71
72
73
End Sub
Private Sub BTN_PRV_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_PRV.Click
cnt = cnt - 1
If cnt = -1 Then
cnt = 0
End If
cmbbid.Text = ds.Tables("customer_details").Rows(cnt).Item(0)
txtcid.Text = ds.Tables("customer_details").Rows(cnt).Item(1)
txtfno.Text = ds.Tables("customer_details").Rows(cnt).Item(2)
txtamt.Text = ds.Tables("customer_details").Rows(cnt).Item(3)
cmbptp.Text = ds.Tables("customer_details").Rows(cnt).Item(4)
txtchno.Text = ds.Tables("customer_details").Rows(cnt).Item(5)
txtcdt.Text = ds.Tables("customer_details").Rows(cnt).Item(6)
txtcard.Text = ds.Tables("customer_details").Rows(cnt).Item(7)
cmbctp.Text = ds.Tables("customer_details").Rows(cnt).Item(8)
End Sub
Private Sub BTN_NEXT_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_NEXT.Click
cnt = cnt + 1
If cnt = ds.Tables("customer_details").Rows.Count Then
cnt = cnt - 1
End If
cmbbid.Text = ds.Tables("customer_details").Rows(cnt).Item(0)
txtcid.Text = ds.Tables("customer_details").Rows(cnt).Item(1)
txtfno.Text = ds.Tables("customer_details").Rows(cnt).Item(2)
txtamt.Text = ds.Tables("customer_details").Rows(cnt).Item(3)
cmbptp.Text = ds.Tables("customer_details").Rows(cnt).Item(4)
txtchno.Text = ds.Tables("customer_details").Rows(cnt).Item(5)
txtcdt.Text = ds.Tables("customer_details").Rows(cnt).Item(6)
txtcard.Text = ds.Tables("customer_details").Rows(cnt).Item(7)
cmbctp.Text = ds.Tables("customer_details").Rows(cnt).Item(8)
End Sub
Private Sub BTN_LAST_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_LAST.Click
cnt = ds.Tables("customer_details").Rows.Count - 1
cmbbid.Text = ds.Tables("customer_details").Rows(cnt).Item(0)
txtcid.Text = ds.Tables("customer_details").Rows(cnt).Item(1)
txtfno.Text = ds.Tables("customer_details").Rows(cnt).Item(2)
txtamt.Text = ds.Tables("customer_details").Rows(cnt).Item(3)
cmbptp.Text = ds.Tables("customer_details").Rows(cnt).Item(4)
txtchno.Text = ds.Tables("customer_details").Rows(cnt).Item(5)
txtcdt.Text = ds.Tables("customer_details").Rows(cnt).Item(6)
txtcard.Text = ds.Tables("customer_details").Rows(cnt).Item(7)
cmbctp.Text = ds.Tables("customer_details").Rows(cnt).Item(8)
74
End Sub
Private Sub BTN_CLR_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles BTN_CLR.Click
cleartxt()
BTN_ADD.Enabled = True
BTN_FIRST.Enabled = True
BTN_PRV.Enabled = True
BTN_NEXT.Enabled = True
BTN_LAST.Enabled = True
BTN_CLR.Enabled = False
BTN_SAVE.Enabled = False
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
Me.Close()
End Sub
Private Sub cmbbid_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cmbbid.SelectedIndexChanged
Dim adf As New OleDbDataAdapter("select * from BOOK_DETAILS where
B_ID='" & cmbbid.Text & "'", cn)
Dim dsf As New DataSet
dsf.Clear()
adf.Fill(dsf, "Book_details")
txtcid.Text = dsf.Tables("book_details").Rows(0).Item(2)
txtfno.Text = dsf.Tables("book_details").Rows(0).Item(4)
txtamt.Text = dsf.Tables("book_details").Rows(0).Item(6)
75
Else
txtcdt.Text = ""
txtchno.Text = ""
txtcard.Text = ""
cmbctp.Text = ""
txtcdt.Enabled = False
txtchno.Enabled = False
txtcard.Enabled = True
cmbctp.Enabled = True
End If
End Sub
End Class
76
77
78
79
FORM SEARCH
FOR FLIGHTS
80
81
82
FORM SEARCH
FOR CUSTOMERS
83
84
85
FORM SEARCH
FOR BOOKING
86
Imports System.Data.OleDb
Imports System.Data
Public Class frmsearch
Dim ad As New OleDbDataAdapter("select * from " & tb, cn)
Dim ds As New DataSet
Dim fld As String
Dim sql
Dim tp As String
Private Sub frmsearch_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load
conndb()
ds.Clear()
ad.Fill(ds, tb)
cmbfl.Items.Clear()
cmbtp.Items.Clear()
Dim i
If mitm = 1 Then
For i = 0 To ds.Tables(tb).Columns.Count - 1
cmbfl.Items.Add(ds.Tables(tb).Columns(i).ToString)
cmbtp.Items.Add(ds.Tables(tb).Columns(i).DataType)
Next
cmbfld.Items.AddRange(ardet)
ElseIf mitm = 2 Then
For i = 0 To ds.Tables(tb).Columns.Count - 1
cmbfl.Items.Add(ds.Tables(tb).Columns(i).ToString)
cmbtp.Items.Add(ds.Tables(tb).Columns(i).DataType)
Next
cmbfld.Items.AddRange(fldet)
ElseIf mitm = 3 Then
For i = 0 To ds.Tables(tb).Columns.Count - 1
cmbfl.Items.Add(ds.Tables(tb).Columns(i).ToString)
cmbtp.Items.Add(ds.Tables(tb).Columns(i).DataType)
Next
cmbfld.Items.AddRange(cstdet)
ElseIf mitm = 4 Then
For i = 0 To ds.Tables(tb).Columns.Count - 1
cmbfl.Items.Add(ds.Tables(tb).Columns(i).ToString)
cmbtp.Items.Add(ds.Tables(tb).Columns(i).DataType)
Next
cmbfld.Items.AddRange(bokdet)
ElseIf mitm = 5 Then
For i = 0 To ds.Tables(tb).Columns.Count - 1
cmbfl.Items.Add(ds.Tables(tb).Columns(i).ToString)
cmbtp.Items.Add(ds.Tables(tb).Columns(i).DataType)
Next
cmbfld.Items.AddRange(paydet)
End If
End Sub
Private Sub cmbfld_SelectedIndexChanged(ByVal sender As System.Object,
ByVal e As System.EventArgs) Handles cmbfld.SelectedIndexChanged
87
88
FORM SEARCH
FOR PAYMENT
89
90
91
92
CUSTOMERWISE
MONTH REPORT
93
94
REPORT FOR
CUSTOMER
LIST
95
96
REPORT FOR
AIRLINE DETAILS
97
98
REPORT FOR
FLIGHT
DETAILS
99
100
REPORT FOR
BOOKING LIST
101
102
REPORT FOR
CUSTOMERWISE
BOOKING
103
104
REPOERT FOR
PAYMENT
105
106
TESTING
2.In the second phase the modules that have proved their
efficiency in the first phase of testing were combined
together response to form one single main module and
this main module was checked to ensure that the modules
so linked together response to each other in the desired.
108
Unit testing:
During the development stage each modules was
complied, tested and actual output was compared with the
expected output in form of reports.
Program testing:
Testing was done with arbitrarily chosen data like arbitary
characters entered for name, characters entered for
numeric fields and some of the fields left blank. Actual out
put of the program was then verified against the expected
output.
109
110
CONCLUSION
We are the T.Y.B.C.A students of Dolat Usha
Institute Of Applied Sciences Dhiru- Sarla Institute Of
Management & Commerce Valsad. and we are made on
line website on the 6th semester. In this semester, NAIK
RIDDHI R & PATEL ANKITA R arranged the project
AIRLINE RESERVATION SYSTEM.
We are happy to make this website.
111
BIBLIOGRAPHY
Steven Holzner
Software Engineering
Pankaj Jalote
112