Index

Sr. no

1

Title
Introduction and Background.
1.1 Background.
1.2 Problem Definition.

2

Project Description.
2.1 Functions Performed.
2.1.1 Limitation & Restrictions
2 2.1.2 User Interface Design (Layouts).
2.1.3 System data Files (Database).

2.2 Design Specification.
2.2.1 DFD.
2.2.2 Hardware/Software Requirements.
2.2.3 Implementation Language.

2.3 Implementation Plan.
2.3.1 Deliverable item (Reports)
2.3.2 Future work.

3
4
5
6

Coding
Conclusion.
References.
Experts Opinions.

Page No

02
03
04
05
07
08
09
27
35
36
40
41
47
48
62
63
103
104
105

1

Introduction
&
Background

2

Background
This project gives information about the "AIRPORT MANAGAMENT". From
this project we can understand the real concept of 'Airport Management' & we can
also know that how to manage all the details of data through this project, the data are
stored in sophisticated form. The database gives information about flight timing,
passenger details etc.
The database is very easy to handle, user can insert the record, delete the record
update the record and search the record. All forms are connected with the database
tables but the user can not directly make changes in the structure of database and
cannot do some operation like update, delete and insert etc. The user can do this
operation using the front end application only.
Airport is an organization where the records of passengers are changing every
day. Sometimes it is difficult to maintain record of passenger’s details. There airport
management project is needed which helps manager/user to maintain computerized
records which fulfill all the details of airport. Previously all the records were kept
manually, all details were stored in register and it was very difficult to maintain each
passenger’s details in one register. In our project we have normalized and simplified
the records in one database using Visual Basic as front end and MS Access as back
end tool.

3

Problem Statement In the current working system all the details are manually stored in register so there are many chances of misuse or loss of information. 4 . The information is written manually in registers which is very time consuming and if there is any mistake in writing then the whole data is rewritten on a new page. If a person wants even small information then he has to search in many registers and there is no surety that the information will be available there.

Project Description 5 .

Functional Specification 6 .

7 . It maintains records of passengers and flights.Functions performed The management of the project includes lot of positive changes in the existing system. It also saves money and papers. It also helps to eliminate the errors in manual entries. It provides security for vital information of management. This project helps the airport manager and its user to save their precious time and energy. flights etc. The problem of space is eliminated as it provides large amount of memory space to store information. Apart from ease that’ll be achieved in storing records and information. It provides standard and uniform environment for the different procedures. The daily reports maintain the record of passengers. it also helps in smooth management allowing flexibility in accessing and modifying the previous records without hazels.

Limitations & Restrictions This project has some limitations and restrictions. It has no shortcut keys to insert the record in passenger detail. Sometime it may create trouble for the /user if there is problem in computer or project. Password of the system is fixed by the programmer which can not be changed by the user. it does not support the payment system like credit card and debit card. 8 . then this software does not support. This project can not show the complete status of customer means if passenger changed the flight. This project can only support the cash payment system.

USER INTERFACE DESIGN 9 .

LOGIN 10 .

HOME PAGE 11 .

FLIGHT SEARCH 12 .

FLIGHT FOUND 13 .

AIRLINES RESERVAION 14 .

TICKET 15 .

AIRPORT CHECK IN 16 .

BOARDING PASS 17 .

AIR TRAFIC CONTROL 18 .

CHECK OUT 19 .

PASSENGER DETAIL 20 .

AIRPORT SERVICES 21 .

HOTEL RESERVATION 22 .

SHOPPING BILL 23 .

FOREIGN EXCHANGE MEALS AND RERRESHMENTS 24 .

FLIGHT MAINTENANCE 25 .

RUNWAY MANTENANCE

26

SYSTEM
DATABASE
FILES

27

1. FLIGHT SEARCH:Sr No

Field Name

Data Type

Description

1

One Way

Yes / No

To select ticket option one way

2

Round Trip

Yes / No

To select ticket option two way

3

Date

Date / Time

To select date

4

Departure

Text

To select departure

5

Destination

Text

To select destination

2.

FLIGHT FOUND:-

Sr No

Field Name

Data Type

Description

1

Flight No

Text

To enter flight no

2

Airline

Text

To enter airlines

3

Departure

Text

To enter departure city

4

Departure Time

Text

To enter departure time

5

Arrival

Text

To enter arrival city

6

Arrival Time

Text

To enter arrival time

7

Seats Available

Text

To search seats

8

Fare

Text

To give detail about fare

3. RESERVATION:28

Sr No 1 2 3 4 5 6 7 8 9 10 11 12 13 Field Name Name Of Passenger One Way Round Trip Select Airline From To Departure Return Gender Age Class Adult Children Data Type Text Text Text Text Text Text Text Text Text Text Text Text Text Description To enter name of passenger To enter ticket option one way To enter ticket option round trip To enter airlines To enter departure city To enter destination city To enter departure date To enter return date To enter gender To enter age To enter seat class To enter no of adults To enter no of children's 4. TICKET:Sr No 1 2 3 4 5 6 7 8 9 10 Field Name Passport Number Passenger Name Departure Date Destination City Time Departure City Flight No Ticket Option Seat Number Seat Class Data Type Text Text Text Text Text Text Text Text Text Text Description To enter passport number To enter passenger name To enter departure date To enter destination city To enter departure time To enter departure city To enter flight no To enter ticket option To enter seat number To enter seat class 29 .

:30 . CHECK IN:Sr No Field Name Data Type Text 1 Passenger Identification Registration(passport) 2 Passenger Identification Registration (ticket) Text 3 Baggage Registration(security check) Text 4 Baggage Registration(weight limit) Text 5 Seating Registration Text 6 Special Service Request Text 7 Passenger Name Text 8 Flight No Text 9 Passport No Text 10 From Text 11 To Text Description To enter passenger identification registration To enter passenger identification registration To enter baggage registration To enter baggage registration To enter seating registration To enter special service request To enter passenger name To enter flight no l To enter passport no To enter departure city To enter destination city 6.BORDING PASS:Sr No 1 2 3 4 5 6 7 8 9 Field Name Name Seat No Flight No Date From To Boarding Time Am / Pm Gate No Data Type Text Text Text Date / Time Text Text Text Text Text Description To enter passenger name To enter seat no To enter flight no To enter date To enter departure city To enter destination city To enter boarding time To enter am or pm To enter gate no 7.5. AIR TRAFIC CONTROL.

CHECK OUT:Sr No 1 2 3 4 5 6 7 Field Name Name Of Passenger Passenger Identification Registration (passport) Passenger identification Registration (ticket) Baggage Registration (security) Baggage Registration (weight limit) Special Service Request Car Rental Data Type Text Text Description To enter name of passenger To enter passenger identification registration Text To enter passenger identification Text To enter baggage registration Text To enter baggage registration Text To enter special service request Text To enquiry about car rental 9. PASSENGER DETAIL:- 31 .Sr No 1 Field Name Destination City Data Type Text 2 Whether Maximum Text 3 Whether Minimum Text 4 Air Traffic Control Frequency Text 5 Radar System Information Text Description To give detail about destination To give whether information To give whether information To give information air traffic control frequency To give information radar 8.

HOTEL RESERVATION:Sr No Field Name Data Type Description 1 Sr no Text To generate serial no 2 Customer Name Text 3 Address Text To enter customer name To enter address 4 Phone No Text To enter phone no 5 Mobile No Text To enter mobile no 7 Reservation No Text 8 Period Of Reservation Text 9 Room Type Text To enter reservation no To enter period of reservation To enter room type 11. SHOPPING BILL:32 .Sr No 1 2 3 4 5 6 7 8 9 10 11 Field Name Name Airlines Flight No Departure date Departure Time Arrival Date Arrival Time Departure City Destination City Ticket Option Seat Class Data Type Text Text Text Text Text Text Text Text Text Text Text Description To enter name of passenger To enter name of airlines To enter flight no To enter departure date To enter departure time To enter arrival date To enter arrival time To enter departure city To enter destination city To enter ticket option To enter seat class 10.

Sr No Field Name Data Type Description 1 Sr No Text To generate serial no 2 Date Text To enter date 3 Payment Text 4 Select Product Text To pay payment by customer choice To select product 5 Quantity Text To enter quantity 6 Rate Text To enter rate 7 Total Text To enter total 33 .

MEALS AND REFRESHMENT:Sr no Field name Data Type Description 1 Order No Text To enter order no 2 Cold Drink Text 3 Soup Text To enter choice of cold drink To enter choice of soup 4 Ice Cream Text 5 Snaks Text 6 Hot Drinks Text 7 Total Number To enter choice of cold drink To enter total 8 Payment Text To pay payment To enter choice of ice cream To enter choice of snaks 13.12. FLIGHT MAINTENANCE:Sr No Field Type Data Type Description 1 Flight No Text To enter flight no 2 Airline Type Text To enter airline type 3 Airframe Structure Text To check airframe structure 4 Electrical System Text To check Electrical 5 Automatic Pilot System Text 6 Text 7 Radio Communication System Engine System Text To check automatic pilot system To check radio communications To check engine system 8 Radar System Text To check radar system 34 .

DESIGN SPECIFICATION 35 .

DATA FLOW DIAGRAM (DFD) Flight fond Flight Search Check out Airline Reservation Check In AirPort Management Ticket Air Traffic Control Passenger detail Airport Services Boarding pass Flight Maintains Flight Information Runway Maintains Reports 1 LEVEL 36 .

1 LEVEL Passenger Personal Detail Boarding pass Flight Number Check In Check Out Emigration 1.Ticker Option Flight No.2 LEVEL Report 37 . Via Departure Airlines Flight Search Departure Arrival Destination Fare 1.

4 LEVEL 38 .3 LEVEL Hotel Foreign Exchange Passenger Needs Meals and Refreshment Airport Services Shopping Report 1.Report Passenger Personal Detail Airline Airline Reservation Ticker Option Ticket 1.

6 LEVEL 39 .Destination Route Map Destination Air Traffic Control Whether Information Radar Information Report 1.5 LEVEL Airframe Structure Flight Number Electrical System Flight Maintenanc e Automatic pilot system Engine System Flight Type Radar system 1.

CPU 1. Microsoft word_2003. 4.System Requirement for Project Implementation: Software Requirement:1. window XP.0 [Front end] Hardware Requirement:1. Printer: Ink-jet. Window 2000. dot Matrix.0 GHz. window VISTA. 40 . 2. Keyboard. 7. 6. 2. Pentium IV to Pentium Dual-Core. Microsoft access. Laser printer. 4. Hard disk: Minimum 80GB. Window 98. 3. Optical mouse. 3. RAM 512 MB to onward.[Back end] Visual Basic 6. 5.60 GHz to 2.

IMPLEMENTATION LANGUAGES 41 .

checkboxes.0 Visual basic is powerful programming system for developing sophisticated. you will have an easy method to let user’s control and access database. Data environment is new ActiveX designer that enables the user to visually manage database connection and commends. A substantial amount of work to enhance internet capabilities has been done in this version. textboxes.0 it is possible to work with ActiveX Data Object [ADO]. It’s productivity enhanced by addition of complete set of tool to simplify rapid application development and internet tacking. Visual Basic lets you add menus.MICROSOFT VISUAL BASIC 6. option buttons. graphical application for Microsoft Windows environment. sizes and images that are included in your program. You can grids to handle tabular data. list boxes. You can communicate with other window applications. command buttons. This is the great advance over other programming language because your design until you are satisfied with colors. and perhaps most importantly. Visual Basic is accomplished visually that is. With the release of visual basic 6. 42 . the run time appearance of your program can be viewed during design time itself. scrollbars & file and directory boxes to blank windows. which features a simpler object model than DAO or RDO.

43 .You can have multiple windows on screen. function and location of interface elements. In basic it has added some long desired language feature Visual Basic is another structured language. You can use Visual Basic to communicate with other application running same windows. “Basic” refer to the basic programming language. Visual Basic is an easy yet powerful tool for developing windows application. “Visual” refers to method used to create Graphical User Interface [GUI] that uses illustration rather than writing numerous lines of code to describe the appearance.0. Perhaps even more important than the look of Microsoft windows application is the feel that the applications developed for window have windows interface. function and keywords many of which relate directly to the window GUI. This means that user can spend more time mastering the application and less worrying about which keystrokes do what within means and dialogue boxes. The most notable enhancement includes dynamic HTML support DHTML application is Visual Basic application that combines VB code with DHTML to create a browser on the whole Visual Basic is generally on target in predicting the future of software development. Visual Basic is most popular language in the world today. using the most modern version of Microsoft’s COM/OLE technology. The front-end application use in the project is Microsoft Visual Basic 6. Widely preferred language by many programmers for its simplicity Visual Basic evolved from the original basic language and now contains several hundred statements. These windows have full access to the clipboard and you the information in most other windows application running at the same time.

2.VISUAL BASIC FEATURES Visual basic represents the next step in object oriented programming 1. The check boxes. but visual basic simplifies the task by the click of the mouse button. Visual basic is more then a programming language. 44 . option button and the entire standards windows object would look like the object they represent. In most programming language it makes hundreds of lines of code simply to open a windows and operation to be defined on it. Visual Basic is powerful programming language for the Microsoft Windows environment with compilers and interpreter in it. 3. In visual basic after you run the program you can see the action Performed by the object. This environment includes the programs to create and modify the code you write an interpreter execute the application into stand alone code. It is environment for developing windows application. 4.

A database can consist of one or more tables of information that are related in some way. organized in such a way that information can be accessed quickly and easily. 45 . designing queries. or a collection of databases or files. MS-Access is the RELATIONAL DATABASE MANAGEMENT SYSTEM or RDBMS. relations between more than one table. Also the find from different tables can combines together to from reports. You can find and retrieve data that meets criteria using a query. Microsoft Access 2000 is a DBMS package from Microsoft. The database in the file table can be viewed reports. It is one of the products in the Microsoft Office 2000 suite. A relationship between the tables can be built. queries and reports. These objects are used to manage the data in the database. It is set of two dimensional tables in which the data is represented in rows & columns. MS-ACCESS supports RDBMS features like setting Primary key. In this manner only the database which contain the data forms. When a report has to be generated a relationship can be built in table. A database is a collection of related and ordered information. reports. Within this you can spilt your data and store name in table.INTRODUCTION TO MS-ACCESS MS-ACCESS allows you to manage all your information from a single database file. A Database Management System (DBMS) is a computer based system to manage a database.

views. insertion . admit of patient. and we have to do some updates then data base access is used. For example. indexes etc. or only parts of it are. 46 . The three basic data functions provided by SQL are: Data Definition Language (DDL): Consists of commands to create the objects such as tables. Data Manipulation Language (DML): Uses for query.  A query that displays specified columns and data from a table(s). Data Control Language (DCL): this is used for controlling data and their access to the database. If your database isn’t stored on a computer. such as tracking customer orders or maintaining a music collection. suppose the serial number of a patient is in three places that is patient information. A database is a collection of information that’s related to a particular subject or purpose. discharge time that time. retrieve data from more than one tables or for query designing. MS-ACCESS supports SQL – Structured Query Language which is used to manipulate data. A primary key is to be set to a table. deletion and updating of data stored in the database. you may be tracking information from a variety of sources that you’re having to coordinate and organize yourself. which uniquely identifies each record.

IMPLEMENTATION PLAN 47 .

DELIEVERABLE ITEMS 48 .

Flight Search Report 49 .

Airline Reservation Report 50 .

Ticket Report 51 .

Airport Check In Report 52 .

Boarding Pass Report 53 .

Air Traffic Control Report 54 .

Airport Check-Out Report 55 .

Flight Information Report Passenger Detail Report 56 .

Flight Maintenance Report 57 .

Hotel Reservation Report 58 .

Shopping Bill Report 59 .

Meals And Refreshment Report 60 .

61 .

62 .FUTURE PLAN This project is small software which helps to user to maintain the records about hotel but it does not fulfill all the requirements of people. We will try to overcome the limitations in next version. We will add the login form as per user define (user can change user name and password as they like). In future we will try to make this software more reliable and user friendly for use.

" End If End Sub Private Sub Command4_Click() Unload Me End Sub Private Sub Form_Load() End Sub MDI Form Private Sub AbUs_Click() frmAboutUs.Show End Sub Private Sub airres_Click() frmTRes.Text = "naim" And Text2.Show End Sub Private Sub aircheck_Click() frmAC.Show End Sub Private Sub aci_Click() Rptacin.Text = "rahim" Then frmmain.Show 63 .Show Unload Me Else MsgBox "You have enter wrong password or user name plase enter right passwor and user name and try again.CODING Login Dim a As Integer Private Sub Command3_Click() If Text1.

End Sub Private Sub airsercives_Click() frmAS.Show End Sub Private Sub arr_Click() rptair_res.Show End Sub Private Sub exi_Click() Unload Me End Sub Private Sub exit_Click() End End Sub Private Sub fd_Click() frmflfo.Show End Sub Private Sub atc_Click() rptATC.Show End Sub 64 .Show End Sub Private Sub bp_Click() rptBordingPass.Show End Sub Private Sub chout_Click() frmCO.Show End Sub Private Sub borpass_Click() frmBP.Show End Sub Private Sub co_Click() rptCheckOut.

Show End Sub Private Sub fliser_Click() frmFS.Show End Sub Private Sub hr_Click() rpthotel_Reser.Private Sub fi_Click() rptFlightInfo.Show End Sub Private Sub runwaymaintain_Click() 65 .Show End Sub Private Sub pd_Click() frmPD.Show End Sub Private Sub fli_Click() frmFI.Show End Sub Private Sub fmm_Click() rptFlightmaintain.Show End Sub Private Sub pdd_Click() rptPass_detail.Show End Sub Private Sub mar_Click() rptmeals.Show End Sub Private Sub flimaintain_Click() Frmfm.Show End Sub Private Sub fs_Click() rptFlightsearch.

Show End Sub Private Sub tc_Click() rptTicket.Show End Sub Private Sub tracon_Click() frmATC.frmRM.Show End Sub Private Sub comdep_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Then Else KeyAscii = 0 End If If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Then KeyAscii = 0 End If End Sub 66 .Show End Sub FLIGHT SEARCH Private Sub cmdcan_Click() Unload Me End Sub Private Sub cmdclr_Click() Call clrTxt(frmFS) End Sub Private Sub cmdsub_Click() frmflfo.Show End Sub Private Sub sb_Click() rptShop.Show End Sub Private Sub tic_Click() frmTP.

Fields(1) Fg.EOF = False Fg.AddItem "Karachi" comdes.AddItem "Cairo" comdep.ListIndex = 0 End Sub FLIGHT FOUND Private Sub Command1_Click() End Sub Private Sub cmdext_Click() Unload Me End Sub Private Sub Form_Load() Fg.FormatString = "FlightNo| Airline Time | Arrival | Arrival Time | Fare " i=1 With Adodc1.Private Sub Form_Load() comdep.AddItem "Dubai" comdep.Fields(3) | Depature | Depature | Seats Aviable | Via 67 .AddItem "Cairo" comdes.TextMatrix(i.TextMatrix(i.AddItem "New York" comdes.ListIndex = 0 comdes.AddItem "Karachi" comdep. 0) = . 3) = . 1) = .Fields(2) Fg.AddItem "New York" comdep.AddItem "Melbourne" comdes.TextMatrix(i.TextMatrix(i.AddItem "Mumbai" comdep.AddItem "Select" comdes.AddItem "Select" comdep.Fields(0) Fg.Recordset .AddItem "Melbourne" comdep. 2) = .MoveFirst While .AddItem "Mumbai" comdes.AddItem "Dubai" comdes.

Fg.TextMatrix(i, 4) = .Fields(4)
Fg.TextMatrix(i, 5) = .Fields(5)
Fg.TextMatrix(i, 6) = .Fields(6)
Fg.TextMatrix(i, 7) = .Fields(7)
Fg.TextMatrix(i, 8) = .Fields(8)
i=i+1
Fg.Rows = Fg.Rows + 1
.MoveNext
Wend
End With
End Sub

AIRLINE RESERVATION
Private Sub cmdcan_Click()
Unload Me
End Sub
Private Sub cmdclr_Click()
Call clrTxt(frmTRes)
End Sub
Private Sub cmdDel_Click()
Dim con As ADODB.Connection
Dim strName As String
Dim rs As ADODB.Recordset
Set con = New ADODB.Connection
strName = InputBox("Enter Passenger Name to Delete...")
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=E:\PRO\DATABASE\AIRMAN.mdb;Persist Security Info=False"
Set rs = New ADODB.Recordset
With rs
.Open "Select * from air_res", con, adOpenDynamic, adLockOptimistic
.MoveFirst
While .EOF = False
If strName = .Fields("n_of_p") Then
.Delete
MsgBox "Record Deleted..."
Exit Sub
Else
.MoveNext
End If
Wend
68

End With
End Sub
Private Sub cmdsav_Click()
Dim con As ADODB.Connection
Dim rs As ADODB.Recordset
Set con = New ADODB.Connection
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=E:\PRO\DATABASE\AIRMAN.mdb;Persist Security Info=False"
Set rs = New ADODB.Recordset
With rs
.Open "Select * from air_res", con, adOpenDynamic, adLockOptimistic
.AddNew
.Fields("n_of_p") = txtn_of_p.Text
.Fields("o_w") = opto_w.Value
.Fields("r_w") = optr_w.Value
.Fields("s_a") = Coms_a.Text
.Fields("f") = comf.Text
.Fields("t") = Comt.Text
.Fields("dep") = DTPicker1.Value
.Fields("ret") = DTPicker2.Value
.Fields("gen") = Comret.Text
.Fields("age") = Comage.Text
.Fields("cla") = Comcla.Text
.Fields("adu") = Comadu.Text
.Fields("chil") = Comchil.Text
.Update
.Close
MsgBox "Record Saved..."
End With
End Sub
Private Sub cmdupd_Click()
'n_of_p
Dim con As ADODB.Connection
Dim rs As ADODB.Recordset
Set con = New ADODB.Connection
con.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data
Source=E:\PRO\DATABASE\AIRMAN.mdb;Persist Security Info=False"
Set rs = New ADODB.Recordset
With rs
69

.Open "Select * from air_res where n_of_p='" & txtn_of_p.Text & "'", con,
adOpenDynamic, adLockOptimistic
.AddNew
.Fields("n_of_p") = txtn_of_p.Text
.Fields("o_w") = opto_w.Value
.Fields("r_w") = optr_w.Value
.Fields("s_a") = Coms_a.Text
.Fields("f") = comf.Text
.Fields("t") = Comt.Text
.Fields("dep") = DTPicker1.Value
.Fields("ret") = DTPicker2.Value
.Fields("gen") = Comret.Text
.Fields("age") = Comage.Text
.Fields("cla") = Comcla.Text
.Fields("adu") = Comadu.Text
.Fields("chil") = Comchil.Text
.Update
.Close
MsgBox "Record Updated..."
End With
End Sub
Private Sub Form_Load()
loadCboData ("frmTRes")
End Sub
Private Sub Label3_Click()
End Sub
Private Sub opto_w_Click()
If opto_w.Value = True Then
Frame2.Visible = False
Else
Frame2.Visible = True
End If
End Sub
Private Sub optr_w_Click()
If optr_w.Value = True Then
Frame2.Visible = True
Else
Frame2.Visible = False
70

comf.AddItem "Cairo" .Show End Sub Private Sub Form_Load() loadCboData ("frmTP") End Sub MODULES (mdlCboData) Public Sub loadCboData(frm As String) Dim a As Integer Select Case frm Case "frmTRes" With frmTRes .comf.Comcla.AddItem "Select" .Comcla.AddItem "Select" .AddItem "Ecomoic" .AddItem "Business" .ListIndex = 0 .comf.ListIndex = 0 .AddItem "Male" .AddItem "Dubai" 71 .Comret.Comret.Comret.End If End Sub Private Sub txtn_of_p_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then KeyAscii = 0 End If End Sub TICKET Private Sub cmdcan_Click() Unload Me End Sub Private Sub cmdpri_Click() rptTicket.Comret.AddItem "Select" .AddItem "Female" .Comcla.Comcla.

comf.ListIndex = 0 .Comt.AddItem "New York" .Comt.AddItem "Melbourne" .AddItem "AIR EMRITES" .AddItem "New York" .ListIndex = 0 .Comchil.Comage.Comt.AddItem "Dubai" .AddItem a Next a .Comt.AddItem "Select" For a = 1 To 5 .Coms_a.Coms_a.comf.AddItem "Cairo" .Comt.AddItem "Melbourne" .Comage.Coms_a.AddItem "AIR AMERICA" .Comt.ListIndex = 0 72 .Comchil.Comt.AddItem "Mumbai" .Comadu.comf.Coms_a.AddItem "PAKISTAN AIRLINES" .ListIndex = 0 .AddItem "AIR INDIA" .AddItem "AIR EGYPT" .Coms_a.Coms_a.AddItem "Select" .AddItem "Select" For a = 1 To 95 .Comchil.Coms_a.Comt.AddItem a Next a .comf.AddItem "AUSTRALIAN AIRLINES" .ListIndex = 0 .AddItem a Next a .Coms_a..Comadu.ListIndex = 0 .Comage.AddItem "Select" .AddItem "Mumbai" .AddItem "Karachi" .AddItem "Select" For a = 1 To 5 .AddItem "Karachi" .comf.Comadu.

AddItem "Select" .comr_no.AddItem "Busniss" .AddItem "PAKISTAN AIRLINES" .AddItem "Mumbai" .AddItem "AUSTRALIAN AIRLINES" .Coms_c.AddItem "Mumbai" .Coms_c.AddItem "Select" .comr_no.AddItem "Economy" .Comfli.Comdep_c.Comfli.AddItem "Melbourne" .Comfli.Comdes_c.ListIndex = 0 .AddItem "AIR AMERICA" .AddItem "Cairo" .Coms_c.ListIndex = 0 End With Case "frmRM" With frmRM .Comdes_c.Comfli.AddItem "New York" .Comdes_c.comr_no.Comfli.Comfli.AddItem "Select" .Comdep_c.AddItem "Select" .Comdep_c.Comdep_c.comr_no.AddItem "New York" .End With Case "frmTP" With frmTP .Comdes_c.ListIndex = 0 .Comfli.AddItem "Karachi" .AddItem "Dubai" .AddItem "Dubai" .AddItem "2" .AddItem "AIR EGYPT" .Comdep_c.ListIndex = 0 73 .AddItem "AIR INDIA" .Comdes_c.Comdes_c.AddItem "Cairo" .Comdep_c.Comdep_c.Comdep_c.Comdes_c.ListIndex = 0 .AddItem "Select" .AddItem "1" .Comfli.Comdes_c.AddItem "Melbourne" .Coms_c.AddItem "Karachi" .AddItem "AIR EMRITES" .

Recordset With rs ..Persist Security Info=False" Set rs = New ADODB.MoveFirst While .MoveNext End If Wend End With End Sub CHECK IN Private Sub Com1_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub 74 .Delete MsgBox "Record Deleted. con...Connection strName = InputBox("Enter Passenger Name to Delete.Open "Provider=Microsoft." Exit Sub Else ..ListIndex = 0 End With End Select End Sub Private Sub Cmdde_Click() Dim con As ADODB.Comsur.Connection Dim strName As String Dim rs As ADODB.4.") con.Comsur.EOF = False If strName = .AddItem "Asphalt" .Data Source=E:\PRO\DATABASE\AIRMAN.Jet. adOpenDynamic.AddItem "Select" .Open "Select * from air_c_in".Comsur..mdb.Comsur.AddItem "Concrete" .OLEDB. adLockOptimistic .0.Recordset Set con = New ADODB.Fields("p_n") Then .

Recordset With rs .Value = vbChecked Then .4.Fields("p_i_r_Ticket") = chkTicket.Jet.Value = vbChecked Then .AddNew If chkPass. adLockOptimistic .Private Sub Com2_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub Private Sub Com3_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub Private Sub com4_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub Private Sub Command1_Click() Dim con As ADODB.Caption End If If chkTicket.Data Source=E:\PRO\DATABASE\AIRMAN.Recordset Set con = New ADODB.Caption 75 . adOpenDynamic.Connection Dim rs As ADODB.Caption End If If chkSecChk.Fields("p_i_r_Pass") = chkPass.Connection con.Open "Provider=Microsoft.Fields("b_r_SecChk") = chkSecChk.Value = vbChecked Then . con.Persist Security Info=False" Set rs = New ADODB.Open "Select * from air_c_in".mdb.0.OLEDB.

Text .AddItem "Melbourne" CoM1.Caption End If .Text ..AddItem "Cairo" Com2.AddItem "New York" CoM1.AddItem "Karachi" CoM1.AddItem "Mumbai" 76 .AddItem "Melbourne" Com2.Text .Fields("f_n") = Text8.Fields("t") = Com2.Fields("p_no") = Text7.Fields("f_n") = Text8.Text .Fields("f_n") = Text8.Fields("p_n") = Text5.AddItem "Mumbai" CoM1.Text .AddItem "Karachi" Com2.ListIndex = 0 Com2.Text .Fields("s_r") = com4.Fields("b_r_Whgt_Lmt") = chkWLmt..AddItem "Cairo" CoM1.End If If chkWLmt.Update .AddItem "Dubai" CoM1.Fields("s_s_r") = Com3.AddItem "Select" CoM1.Text .Text .Close MsgBox "Record Saved.AddItem "Dubai" Com2.Text .Fields("f") = CoM1.AddItem "Select" Com2." End With End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Command3_Click() Call clrTxt(frmAC) End Sub Private Sub Form_Load() CoM1.Value = vbChecked Then .

OLEDB.Recordset Set con = New ADODB.Connection Dim strName As String Dim rs As ADODB.AddItem "Select" Com3.AddItem "New York" Com2..Jet.Connection strName = InputBox("Enter Name to Delete. con.Open "Provider=Microsoft.AddItem "Select" com4.Data Source=E:\PRO\DATABASE\AIRMAN.Com2.Persist Security Info=False" Set rs = New ADODB.AddItem "Baby Cradle" Com3.0..ListIndex = 0 com4.mdb.AddItem "Wheel Chair" Com3.") con. adLockOptimistic 77 .AddItem "No" Com3.AddItem "Window" com4.ListIndex = 0 End Sub Private Sub Text5_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then KeyAscii = 0 End If End Sub Private Sub Text7_KeyPress(KeyAscii As Integer) If kyas >= vbKey0 And kyas <= vbKey9 Or kyas = vbKeyBack Then KeyAscii = 0 End If End Sub BORDING PASS Private Sub Cmdde_Click() Dim con As ADODB.AddItem "Aisle" com4. adOpenDynamic.ListIndex = 0 Com3.Open "Select * from bor_pass".Recordset With rs .4.

Text .Fields("g_n") = Comg_n." Exit Sub Else .Open "Select * from bor_pass".OLEDB.Text .Data Source=E:\PRO\DATABASE\AIRMAN.Fields("f") = comf.Fields("s_n") = txts_n.MoveFirst While .Connection con.4.Text .0.Jet.Text ." End With End Sub Private Sub cmdcan_Click() Unload Me End Sub Private Sub cmdclr_Click() Call clrTxt(frmBP) End Sub 78 .AddNew .Fields("f_n") = txtf_n.Fields("b_tt") = Comb_tt.Update . con..Persist Security Info=False" Set rs = New ADODB.Text .Fields("n") Then .EOF = False If strName = ..Recordset Set con = New ADODB.Recordset With rs .Fields("n") = txtn.mdb.Close MsgBox "Record Saved.Fields("b_t") = Txtb_t.Open "Provider=Microsoft. adOpenDynamic.MoveNext End If Wend End With End Sub Private Sub cmdsav_Click() Dim con As ADODB..Text . adLockOptimistic .Text ..Delete MsgBox "Record Deleted.Text ..Fields("t") = Comt.Connection Dim rs As ADODB.

AddItem "New York" comf.AddItem "Cairo" comf.AddItem "Melbourne" comf.ListIndex = 0 79 .AddItem "Mumbai" comf.AddItem "Karachi" comf.Private Sub comf_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub Private Sub comt_KeyPress(KeyAscii As Integer) If KeyAscii >= 0 And KeyAscii <= 9 Then Else KeyAscii = 0 End If End Sub Private Sub Comb_tt_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Then Else KeyAscii = 0 End If End Sub Private Sub Comg_n_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Then Else KeyAscii = 0 End If End Sub Private Sub Command2_Click() Unload Me End Sub Private Sub Form_Load() comf.AddItem "Dubai" comf.AddItem "Select" comf.

AddItem "2A" Comg_n.ListIndex = 0 Comb_tt.AddItem "Select" Comg_n.AddItem "Cairo" Comt.Comt.AddItem "1A" Comg_n.AddItem "Select" Comb_tt.AddItem "1B" Comg_n.AddItem "Mumbai" Comt.AddItem "Melbourne" Comt.AddItem "Select" Comt.AddItem "Dubai" Comt.ListIndex = 0 End Sub Private Sub Text1_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then KeyAscii = 0 End If End Sub Private Sub Txtb_t_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then Else KeyAscii = 0 End If End Sub Private Sub txts_n_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then 80 .ListIndex = 0 Comg_n.AddItem "PM" Comb_tt.AddItem "New York" Comt.AddItem "Karachi" Comt.AddItem "2" Comg_n.AddItem "2B" Comg_n.AddItem "AM" Comb_tt.AddItem "1" Comg_n.

ListIndex = 1 Then 81 .Else KeyAscii = 0 End If End Sub AIR TRAFFIC CONTROL Private Sub Cmdd_Click() Dim con As ADODB.OLEDB.Persist Security Info=False" Set rs = New ADODB..") con.Recordset Set con = New ADODB..Open "Provider=Microsoft.Recordset With rs .Connection strName = InputBox("Enter Destinaion city Name to Delete." Exit Sub Else ..Visible = False Else Text3.Fields("d_r_m") Then .Data Source=E:\PRO\DATABASE\AIRMAN.Path & "\maps###BOT_TEXT###quot; & CoM1. adOpenDynamic.Open "Select * from air_t_c". con.Visible = True picMap.4.MoveNext End If Wend End With End Sub Private Sub Com1_Click() If CoM1.Jet.Picture = LoadPicture(App..Text = "Select" Then picMap. adLockOptimistic .Cls Text3.MoveFirst While .EOF = False If strName = .Text & ".jpg") End If If CoM1.mdb.Connection Dim strName As String Dim rs As ADODB.Delete MsgBox "Record Deleted.0.

ListIndex = 2 Then Text1.Text = 76 End If If CoM1.ListIndex = 3 Then Text1.Text = 45 Text2.Text = "" Text3.ListIndex = 6 Then Text1.Text = 30 Text3.Text = 25 Text3.Text = 32 Text3.Text = 79 End If If CoM1.Text = 39 Text2.Text = 45 Text2.Text = 5 Text3.ListIndex = 4 Then Text1.Recordset Set con = New ADODB.Text = 30 Text3.ListIndex = 0 Then Text1.Text = 78 End If If CoM1.Text = 79 End If If CoM1.Connection Dim rs As ADODB.Text = "" End If End Sub Private Sub Command1_Click() Unload Me End Sub Private Sub Command2_Click() Dim con As ADODB.Text = 42 Text2.Text = 42 Text2.Text = "" Text2.ListIndex = 5 Then Text1.Text = 20 Text3.Text = 15 Text2.Connection 82 .Text = 78 End If If CoM1.Text = 80 End If If CoM1.Text1.

AddItem "New york" CoM1. con.Text .0.Data Source=E:\PRO\DATABASE\AIRMAN.Update .AddItem "Select" CoM1.Open "Provider=Microsoft.Fields("d_r_m") = CoM1.AddNew ..Recordset With rs .Jet.Text .mdb. adLockOptimistic .ListIndex = 0 End Sub Private Sub Text3_KeyPress(KeyAscii As Integer) KeyAscii = KeyNum(KeyAscii) End Sub Private Sub Text4_KeyPress(KeyAscii As Integer) KeyAscii = KeyNum(KeyAscii) End Sub CHECK OUT Private Sub cmdclr_Click() Call clrTxt(frmCO) End Sub Private Sub cmdext_Click() 83 ..AddItem "Mumbai" CoM1.Fields("w_m") = Text1.Persist Security Info=False" Set rs = New ADODB.Close MsgBox "Record Saved.Fields("w_n") = Text2.AddItem "Melbourne" CoM1.AddItem "Cairo" CoM1." End With End Sub Private Sub Form_Load() CoM1.Text .OLEDB.AddItem "Dubai" CoM1.AddItem "Karachi" CoM1. adOpenDynamic.4.Fields("r_s_i") = Text4.Fields("a_t_c") = Text3.Text .Open "Select * from air_t_c".con.Text .

mdb.Jet." Exit Sub Else .OLEDB.4.Open "Provider=Microsoft.Fields("p_i_r_p") = chkp_i_r_p.Jet..Open "Select * from c_out". adOpenDynamic.Value .OLEDB.EOF = False If strName = .Recordset With rs .Recordset Set con = New ADODB.Connection Dim rs As ADODB.0..") con.Data Source=E:\PRO\DATABASE\AIRMAN. adLockOptimistic .Connection Dim strName As String Dim rs As ADODB.Connection con.4.Connection strName = InputBox("Enter Passenger Name to Delete.Persist Security Info=False" Set rs = New ADODB.mdb..MoveNext End If Wend End With End Sub Private Sub cmdsave_Click() Dim con As ADODB.Open "Select * from c_out".Fields("n_p") = txtn_p. adLockOptimistic .Recordset Set con = New ADODB..Value .Delete MsgBox "Record Deleted.Fields("b_r_s") = Chkb_r_s.Unload Me End Sub Private Sub Cmdl_Click() Dim con As ADODB. adOpenDynamic.Recordset With rs .AddNew .Data Source=E:\PRO\DATABASE\AIRMAN.0.Persist Security Info=False" Set rs = New ADODB.Fields("n_p") Then .Text .Value 84 . con. con.MoveFirst While .Open "Provider=Microsoft.Fields("p_i_r_t") = chkp_i_r_t.

ListIndex = 0 Comc_r.AddItem "Select" Comc_r.Fields("b_r_w") = chkb_r_w..Connection 85 .AddItem "No" Coms_s_r.Fields("s_s_r") = Coms_s_r.Update .AddItem "Select" Coms_s_r.Text .Recordset Set con = New ADODB.AddItem "Wheel Chair" Coms_s_r.Fields("c_r") = Comc_r.Connection Dim strName As String Dim rs As ADODB.AddItem "Baby Cradle" Coms_s_r.ListIndex = 0 End Sub Private Sub txtn_p_KeyPress(KeyAscii As Integer) If KeyAscii >= vbKey0 And KeyAscii <= vbKey9 Or KeyAscii = vbKeyBack Then KeyAscii = 0 End If End Sub PASSENGER DETAIL Private Sub cmdclr_Click() Call clrTxt(frmPD) End Sub Private Sub cmdei_Click() Dim con As ADODB..AddItem "No" Comc_r.Value ..AddItem "Estem" Comc_r.AddItem "maruti" Comc_r.Text .AddItem "Indica" Comc_r.Close MsgBox "Record Saved." End With End Sub Private Sub Form_Load() Coms_s_r.

4.Fields("a_d") = DTPicker2.Recordset With rs .MoveFirst While .Text . adOpenDynamic.Jet.Text .Persist Security Info=False" Set rs = New ADODB.Open "Provider=Microsoft.Fields("t_o") = Comt_o." Exit Sub Else ..Text .Text . adOpenDynamic.Connection con.OLEDB.Fields("f_n") = txtf_n.Fields("nam") Then .Text .Data Source=E:\PRO\DATABASE\AIRMAN.strName = InputBox("Enter Passenger Name to Delete.Value .Fields("d_t") = txtd_t. con.Text ..Open "Select * from pas_det".Fields("d_d") = DTPicker1.Text .mdb.") con. adLockOptimistic .Update 86 .Fields("air") = txtname.Data Source=E:\PRO\DATABASE\AIRMAN.Text .Fields("s_c") = Coms_c.Open "Select * from pas_det".MoveNext End If Wend End With End Sub Private Sub cmdsave_Click() Dim con As ADODB.mdb..EOF = False If strName = .OLEDB..4.0.Fields("a_t") = txta_d.0. con.Text .Fields("des_c") = Comdes_c.Jet.Connection Dim rs As ADODB.Delete MsgBox "Record Deleted.Fields("dep_c") = Comdep_c.Recordset Set con = New ADODB.Fields("nam") = txtname.Recordset With rs .Open "Provider=Microsoft.AddNew .Persist Security Info=False" Set rs = New ADODB.Value . adLockOptimistic .

Text .AddItem "AIR EMRITES" Comair.AddItem "AIR EGYPT" 87 ." End With End Sub Private Sub cmdupd_Click() 'nam Dim con As ADODB.Fields("nam") = txtname..Text . con.Fields("f_n") = txtf_n.Text . adOpenDynamic.Recordset Set con = New ADODB.Text .Text .Fields("dep_c") = Comdep_c.0.Data Source=E:\PRO\DATABASE\AIRMAN.Value . adLockOptimistic .Fields("t_o") = Comt_o..4..Connection Dim rs As ADODB.Update .Open "Select * from pas_det where nam='" & txtname.OLEDB.AddItem "AUSTRALIAN AIRLINES" Comair.Fields("air") = txtname.Fields("d_t") = txtd_t.Connection con.Text & "'".Fields("a_d") = DTPicker2.Close MsgBox "Record Updated.Jet.Close MsgBox "Record Saved." End With End Sub Private Sub Form_Load() Comair.Recordset With rs .AddItem "AIR AMERICA" Comair.Fields("a_t") = txta_d.Value .Fields("s_c") = Coms_c.Fields("des_c") = Comdes_c.Text .AddItem "AIR INDIA" Comair...Fields("d_d") = DTPicker1.Text .Open "Provider=Microsoft.Persist Security Info=False" Set rs = New ADODB.mdb.Text .Text .AddNew .AddItem "Select" Comair.

AddItem "Karachi" Comdep_c.ListIndex = 0 Comt_o.AddItem "One way" Comdes_c.AddItem "Mumbai" Comdep_c.AddItem "Select" Comdes_c.AddItem "Dubai" Comdes_c.AddItem "Round Trip" Comt_o.AddItem "PAKISTAN AIRLINES" Comair.AddItem "Mumbai" Comdes_c.Comair.AddItem "Round trip" Comdes_c.AddItem "One Way" Comt_o.ListIndex = 0 Comdes_c.AddItem "Karachi" Comdes_c.ListIndex = 0 Comdes_c.AddItem "New York" Comdep_c.AddItem "Melbourne" Comdes_c.ListIndex = 0 Coms_c.AddItem "Select" Coms_c.AddItem "Dubai" Comdep_c.AddItem "Economic class" Coms_c.AddItem "Business class" Coms_c.AddItem "Select" Comt_o.ListIndex = 0 Comdep_c.AddItem "Melbourne" Comdep_c.ListIndex = 0 End Sub AIRPORT SERVICES Dim s As Variant 88 .AddItem "Select" Comdep_c.AddItem "Cairo" Comdep_c.AddItem "New York" Comdes_c.AddItem "Select" Comdes_c.AddItem "Cairo" Comdes_c.

Private Sub cmdext_Click() Unload Me End Sub Private Sub cmdForExc_Click() frmEX. vbYesNo) If s = vbYes Then Unload Me End If End Sub Private Sub Form_Load() End Sub 1) HOTEL Private Sub cmdcan_Click() Unload Me End Sub Private Sub cmdcle_Click() Call clrTxt(frmhot) End Sub Private Sub cmder_Click() 89 .Show End Sub Private Sub Command1_Click() frmhot.Show End Sub Private Sub Command6_Click() s = MsgBox("Are You really want to Exit".Show End Sub Private Sub Command2_Click() frmsho.Show End Sub Private Sub Command4_Click() frmeres.

Fields("m_no") = txtm_no.0.mdb. adLockOptimistic .Text .Open "Provider=Microsoft..Text .EOF = False If strName = .Open "Provider=Microsoft.Delete MsgBox "Record Deleted.Text ..0.Persist Security Info=False" Set rs = New ADODB.Fields("p_no") = txtp_no.Persist Security Info=False" Set rs = New ADODB.Dim con As ADODB.Connection con.Text .Text .Jet.Text . con." Exit Sub Else .Fields("r_t") = comr_t.Fields("p_of_r") = txtp_of_r.Fields("res_no") = txtres_no.AddNew . con.4.Data Source=E:\PRO\DATABASE\AIRMAN.Fields("sr_no") Then .Data Source=E:\PRO\DATABASE\AIRMAN.Fields("sr_no") = txtsr_no.Text .MoveFirst While . adLockOptimistic .Fields("add") = txtadd.Open "Select * from hot_res".OLEDB.Connection strName = InputBox("Enter Serial no to Delete.Recordset Set con = New ADODB. adOpenDynamic.4.Jet.Connection Dim rs As ADODB.Recordset With rs ...Open "Select * from hot_res".Recordset With rs . adOpenDynamic.Fields("c_name") = txtc_name.OLEDB.") con.Text 90 .Recordset Set con = New ADODB.Connection Dim strName As String Dim rs As ADODB.mdb.MoveNext End If Wend End With End Sub Private Sub cmdsave_Click() Dim con As ADODB.

Text .Close MsgBox "Record Saved.ListIndex = 0 End Sub 2) SHOPPING Dim i As Integer Private Sub cmdAdd_Click() With fgShopBill .Text .TextMatrix(i.4. con.mdb.Open "Provider=Microsoft.Persist Security Info=False" Set rs = New ADODB.Text .Text i=i+1 End With End Sub Private Sub cmdsave_Click() Dim con As ADODB.Fields("sr_no") = txtsr. adLockOptimistic .." End With End Sub Private Sub Form_Load() comr_t.TextMatrix(i.Connection Dim rs As ADODB.Recordset With rs .Data Source=E:\PRO\DATABASE\AIRMAN..TextMatrix(i. 3) = txtTotal.Fields("date") = DTPicker1.OLEDB.AddItem "Non Ac" comr_t.Jet. 2) = txtRate.Connection con.AddItem "Ac" comr_t.0. 0) = cboProduct. adOpenDynamic. 1) = txtQty.Rows + 1 .Text .Update .AddItem "Select" comr_t.TextMatrix(i.Recordset Set con = New ADODB.AddNew .Value 91 .Open "Select * from shop"..Rows = .

Close MsgBox "Record Saved." End With End Sub Private Sub Cmdt_Click() Dim con As ADODB..MoveNext End If Wend End With End Sub Private Sub Command1_Click() Unload Me End Sub Private Sub Form_Load() i=1 92 .Update .Connection strName = InputBox("Enter Serial no to Delete...Recordset With rs .4.Fields("s_p") = cboProduct.Text .Recordset Set con = New ADODB.EOF = False If strName = .Open "Provider=Microsoft.Data Source=E:\PRO\DATABASE\AIRMAN..Text .Fields("q") = txtQty.Text . adLockOptimistic .Fields("sr_no") Then .") con.Fields("r") = txtRate.mdb.Fields("t") = txtTotal..OLEDB. adOpenDynamic.Delete MsgBox "Record Deleted.Persist Security Info=False" Set rs = New ADODB.Fields("pay") = CoM1.Text ..MoveFirst While ." Exit Sub Else ..Connection Dim strName As String Dim rs As ADODB.Open "Select * from shop".Jet. con.0.Text .

AddItem "Select" CoM1.FormatString = "Product Name |Quntity|Rate|Total" cboProduct.AddItem "pens" cboProduct.AddItem "camera" cboProduct.AddItem "Select" cboProduct.ListIndex = 0 CoM1.AddItem "Watch " cboProduct.Text = Val(txtQty.Text = "Rupee(ind)" Then txtTo.Text) * Val(txtRate.AddItem "Credit card" CoM1.Text = "Dollar(us)" And cboTo.AddItem "Jeans" cboProduct.AddItem "Tshirts" cboProduct.Text) * 48 End If 93 .AddItem "Cell Phone" cboProduct.AddItem "Cash" CoM1.fgShopBill.ListIndex = 0 End Sub Private Sub print_Click() Call clrTxt(frmsho) End Sub Private Sub save_Click() rptShop.Show End Sub Private Sub txtRate_LostFocus() txtTotal.Text) End Sub 3) FOREING EXCHANGE Private Sub cmdclr_Click() Call clrTxt(Me) End Sub Private Sub Command1_Click() Unload Me End Sub Private Sub cmdConvt_Click() If cboFrom.Text = Val(txtFrom.AddItem "Debit Card" CoM1.

6 End If If cboFrom.AddItem "Rupee(ind)" cboTo.AddItem "Rupee(pak)" cboTo.Text = "Rupee(ind)" Then txtTo.AddItem "Dirham" cboFrom.Text = "Dollar(aus)" And cboTo.AddItem "Select" cboTo.Text) * 35 End If End Sub Private Sub cmdext_Click() Unload Me End Sub Private Sub Form_Load() cboFrom.Text) * 32 End If If cboFrom.Text = "Rupee(ind)" Then txtTo.6 End If If cboFrom.Text = "Rupee(ind)" Then txtTo.Text = Val(txtFrom.AddItem "Dollar(us)" cboTo.Text = Val(txtFrom.Text = "Pound" And cboTo.AddItem "Dollar(aus)" cboFrom.Text) * 11.Text = "Rupee(ind)" Then txtTo.AddItem "Pound" cboFrom.ListIndex = 0 End Sub Private Sub txtFrom_KeyPress(KeyAscii As Integer) KeyAscii = KeyNum(KeyAscii) End Sub Private Sub txtTo_KeyPress(KeyAscii As Integer) KeyAscii = KeyNum(KeyAscii) 94 .Text = Val(txtFrom.AddItem "Rupee(ind)" cboFrom.AddItem "Dollar(aus)" cboTo.Text = Val(txtFrom.AddItem "Dollar(us)" cboFrom.ListIndex = 0 cboTo.If cboFrom.Text) * 0.Text = "Dirham" And cboTo.AddItem "Dirham" cboTo.Text = "Rupee(pak)" And cboTo.AddItem "Pound" cboTo.AddItem "Rupee(pak)" cboFrom.AddItem "Select" cboFrom.

Persist Security Info=False" Set rs = New ADODB.MoveNext End If Wend End With End Sub Private Sub clear_Click() Call clrTxt(frmeres) End Sub Private Sub Comc_dr_Click() If Comc_dr..0. adLockOptimistic .Data Source=E:\PRO\DATABASE\AIRMAN.End Sub 4) MEALS AND REFRESHMANT Private Sub cancel_Click() Unload Me End Sub Private Sub Ccomd_Click() Dim con As ADODB. adOpenDynamic.Connection Dim strName As String Dim rs As ADODB.mdb.Open "Provider=Microsoft.Text = "15" ElseIf Comc_dr.4.Text = "Sprit" Then txtcd..Fields("o_no") Then . con.Delete MsgBox "Record Deleted.Open "Select * from meals_ref".MoveFirst While .." Exit Sub Else .Recordset Set con = New ADODB.EOF = False If strName = .Connection strName = InputBox("Enter Order no to Delete.Jet.") con.OLEDB.Text = "Coca cola" Then 95 ..Recordset With rs .

Text = "Samosa" Then 96 .Text) End Sub Private Sub Comsn_Click() If Comsn.Text = Val(txtSoup.Text = "10" Else txthd.Text = "20" ElseIf Comi_c.Text = "Chocodip" Then txtic.Text = "Pepsi" Then txtcd.Text = "Strawbery" Then txtic.Text = "Fanta" Then txtcd.Text = "Vanila" Then txtic.txtcd.Text = "15" ElseIf Comc_dr.Text = "limca" Then txtcd.Text) + Val(txthd.Text = "15" ElseIf Comc_dr.Text = "0" End If End Sub Private Sub Comh_d_Click() If Comh_d.Text) + Val(txtsn.Text) + Val(txtcd.Text = "30" ElseIf Comi_c.Text = "15" Else txtcd.Text = "25" ElseIf Comi_c.Text = "0" End If End Sub Private Sub Comi_c_Click() If Comi_c.Text) + Val(txtic.Text = "0" End If txttot.Text = "15" ElseIf Comc_dr.Text = "Tea" Then txthd.Text = "chacobar" Then txtic.Text = "20" ElseIf Comh_d.Text = "15" ElseIf Comi_c.Text = "mango" Then txtic.Text = "Coffee" Then txthd.Text = "30" Else txtic.

Text = "25" Else txtSoup.AddItem "Pepsi" Comc_dr.AddItem "Select" Comi_c.Text = "Tomato Soup" Then txtSoup.Text = "15" ElseIf Comsn.AddItem "Fanta" Comc_dr.Text = "0" End If End Sub Private Sub Comso_Click() If Comso.AddItem "Chiken Soup" Comso.AddItem "limca" Comc_dr.AddItem "Select" Comso.AddItem "Sprit" Comc_dr.Text = "12" ElseIf Comsn.Text = "15" ElseIf Comso.Text = "50" Else txtsn.Text = "Piza" Then txtsn.Text = "Sandwhich" Then txtsn.ListIndex = 0 Comc_dr.ListIndex = 0 Comi_c.Text = "Burger" Then txtsn.txtsn.AddItem "Tomato Soup" Comso.AddItem "Coca cola" Comc_dr.Text = "0" End If End Sub Private Sub Command3_Click() Unload Me End Sub Private Sub Form_Load() Comso.AddItem "Vanila" 97 .AddItem "Select" Comc_dr.Text = "Chiken Soup" Then txtSoup.Text = "10" ElseIf Comsn.

AddItem "Samosa" Comsn.Connection con.Text .AddItem "Debit card" Compay.AddItem "Select" Compay.Fields("i_c") = Comi_c. con.AddItem "Burger" Comsn.Jet.AddNew .ListIndex = 0 Compay.Recordset With rs .Open "Select * from meals_ref".Text 98 .4.Persist Security Info=False" Set rs = New ADODB.Text .Connection Dim rs As ADODB.AddItem "chacobar" Comi_c. adOpenDynamic.Data Source=E:\PRO\DATABASE\AIRMAN.AddItem "mango" Comi_c.0.ListIndex = 0 Comsn.AddItem "Cash" Compay.Recordset Set con = New ADODB.Open "Provider=Microsoft.AddItem "Chocodip" Comi_c.Fields("c_dr") = Comc_dr.Fields("so") = Comso.Text .AddItem "Strawbery" Comi_c.Fields("sn") = Comsn.AddItem "Credit card" Compay.AddItem "Tea" Comh_d.Comi_c.Text . adLockOptimistic .AddItem "Select" Comsn.AddItem "Piza" Comsn.AddItem "Coffee" Comh_d.OLEDB.ListIndex = 0 End Sub Private Sub save_Click() Dim con As ADODB.mdb.AddItem "Select" Comh_d.ListIndex = 0 Comh_d.AddItem "Sandwhich" Comsn.Fields("o_no") = txto_n.

Connection Dim strName As String Dim rs As ADODB.MoveNext End If Wend End With End Sub 99 .. adOpenDynamic.Text .Fields("h_d") = Comh_d." Exit Sub Else .Text ..Update .EOF = False If strName = .Delete MsgBox "Record Deleted..Fields("f_no") Then .Recordset With rs .Open "Provider=Microsoft.Open "Select * from fli_man".Data Source=E:\PRO\DATABASE\AIRMAN.") con.MoveFirst While . con.OLEDB.Close MsgBox "Record Saved." End With End Sub FLIGHT MAINTENANCE Private Sub exit_Click() Unload Me End Sub Private Sub cmdclr_Click() Call clrTxt(Frmfm) End Sub Private Sub Cmdel_Click() Dim con As ADODB.4.Fields("tot") = txttot.Jet.Fields("pay") = Compay.Recordset Set con = New ADODB.. adLockOptimistic ...Text ..0.Connection strName = InputBox("Enter Flight no to Delete.mdb.Persist Security Info=False" Set rs = New ADODB.

con." End With End Sub Private Sub Form_Load() Comf_t.Fields("r_s") = chkr_s.Text .AddItem "Cargo" Comf_t.0.Value .Fields("f_t") = Comf_t.Text ..Fields("e_sy") = chke_sy.OLEDB.Recordset Set con = New ADODB.Open "Provider=Microsoft.Open "Select * from fli_man".ListIndex = 0 End Sub RUNWAY MAINTENANCE 100 .AddItem "Passenger Flight" Comf_t.Data Source=E:\PRO\DATABASE\AIRMAN.Fields("f_no") = txtf_no. adOpenDynamic.Connection Dim rs As ADODB.Connection con.AddItem "Charted" Comf_t.Close MsgBox "Record Saved.mdb..Value .AddNew .Fields("a_f_s") = chka_f_s.4.Value .Value .Value .Jet. adLockOptimistic .Private Sub cmdext_Click() Unload Me End Sub Private Sub cmdsave_Click() Dim con As ADODB.Fields("a_p_s") = chka_p_s.Update .AddItem "Select" Comf_t.Fields("e_s") = chke_s.Recordset With rs .Value .Persist Security Info=False" Set rs = New ADODB.Fields("r_c_s") = chkr_c_s.

AddItem "India" cbo.AddItem "United state of Amarica" End Select cbo.ListIndex = 0 End Sub Public Function KeyNum(kyas As Integer) As Integer If kyas >= vbKey0 And kyas <= vbKey9 Or kyas = vbKeyBack Then KeyNum = kyas Else KeyNum = 0 End If End Function Public Sub clrTxt(frm As Form) Dim ctrl As Control For Each ctrl In frm If TypeOf ctrl Is TextBox Then ctrl.Private Sub cmdclo_Click() Unload Me End Sub Private Sub Form_Load() loadCboData ("frmRM") End Sub MODULES (mdlfun1) Public Sub loadcbo(cbo As ComboBox) cbo.Value = vbUnchecked End If 101 .Name Case "cboFrom" cbo.AddItem "--Select--" Select Case cbo.Text = "Select" End If If TypeOf ctrl Is CheckBox Then ctrl.Text = "" End If If TypeOf ctrl Is ComboBox Then ctrl.

At the beginning phase implementation of the system was difficult and the users were unknown about the new systems. but when they came to know the miracles of the systems. The reason for this is illiteracy of the computer. 102 . The Programmer gets satisfaction when the user gives satisfied reports. they became more interested in it. the user’s satisfaction should be given first priority for the system adapter. We tried our level best in this project to reduce physical efforts of the user and satisfy them. Giving training and teaching about computer fundamentals to the user can solve this problem. Now a days the projects are prepared so carefully that even the wrong information is immediately detected and only correct entries are accepted. When any system is implemented.Next ctrl End Sub CONCLUSION “GIVE YOUR BEST THEN BEST WILL COME TO YOU”.

0 Author.IRON BAY ROSS 2.GERG PERRY 103 .References 1. DATA SYSTEM CONCEPT Author – HENRY KORTH 3. MS-ACCESS Author . VISUL BASIC 6.

104 .

EXPERTS OPINION SIGNATURE 105 .