Professional Documents
Culture Documents
A
PROJECT REPORT
ON
VIVEKANAND BIDRI
T.Y. B.Sc. (Computer Science)
(2007-2008)
Seat No: 15853
GUIDED BY
Mrs. SUCHITA MASKE
CERTIFICATE
This is to certify that project work entitled ,
_________________ _________________
Head of Department Internal Guide
Mrs. CHAITALI GADEKAR Mrs. SUCHITA MASKE
1
♦ ♦ ♦ ♦
♦
Gantt Chart
In This Chapter
1) Gantt chart
2
♦ ♦ ♦ ♦
♦
Proposed
System
In This Chapter :
1) Introduction
3
♦ ♦ ♦ ♦
♦
Hardware
Specification
In This Chapter :
1) Minimum requirement
2) Drivers used
4
♦ ♦ ♦ ♦
♦
Software
Specification
In This Chapter :
1) Minimum requirement
5
♦ ♦ ♦ ♦ ♦
System
Documentation
In This Chapter
ISA
Generat
Borro es
ws
Outsider Employee
Nam Nam
e e
Rooms User
Type
Room
No Nam
e Passwor
d
HOTEL RESERVATION MANAGEMENT SYSTEM
Rate
PROCESS
DATA FLOW
EXTERNAL AGENT
DATA STORE
Real-Time Link
Room request
Customer Hotel Generate Bills User
Room Allotted Reservation
Management
System
Edit Room Rates
Room Vacating Notice
Management
Room
Allotment Confirmation 2
Enter Customer Details
Room Booking /
Reservation
User
Check Room Status
Rooms
Room Vacating Notice 3
Generates Bill
4
Duplicate Bill Request
Duplicate Bill Clients
Generation
Duplicate Bill Provided
Acknowledgement 5
Rate
Edit Room Rates Notice Edit Room Rates
Confirmation
Management
Room Inquiry
Customer 1 Rooms
Status Confirmation
Look Up Room
Availability
Customer Details +
Room Specification
2 Rooms
Customer
Confirmation Room Booking /
Reservation
Customer 3 Rooms
Room Vacating
Clients
Customer Details 4
Customer Clients
Duplicate Bill
Generation
Bill Provided
New Rates
5
Management Rate
Edit Room Rates
Confirmation
1.4
Customer
Feedback Room Status
Details
User
1.1
Room Inquire
Rooms
1.2
1.3
Room
Check
Specification
Availability
Customer Confirmation
2.3
Allot Room
Rooms
User
2.2
2.1
Record
Room Request Customer
Details
Bill Provided
Customer
3.3
Generate Bill
Clients
Rooms
Customer
Records
User
3.1
3.2
Room Vacating Check Out Date Update Record
Notice
Bill Provided
Customer
4.3
Generate Bill
Clients
Details
User
4.2
4.1
Take Customer
Bill Request
Details
Generate
Report
Rate
User
5.1
5.2
Edit Room
New Rates Edit Room
Rates Notice
Rates
Check-Out MasterList
Details Entry database,
Status Data
Base
Client Master
Clients Detail List Report
MasterList
Room Status
Room Status
Status
Report
Customer
MasterList Details Bill
Rooms Rates
USER ACCESS
LOGIN USERS
CHANGE PASSWORD
LOG OFF
EXIT
MENU CARD
ADD
VIEW
ORDERS
CUSTOMER DETAILS
ORDER DETAILS
ROOM RATES
REPORTS
CLIENT MASTER LIST
ROOM STATUS
ROOM RATES
BILL
ABOUT US
NAMING CONVENTIONS
The most important rule in naming is that are long enough and as descriptive as
possible. Especially in a large project containing several modules the name should be
made carefully to avoid conflicts between modules. For that reason too short and general
names should be avoided when naming public identifiers of a module.
TABLE NAME
The table Name must have a unique name via which it can be referred to after its
creation.
The table name should not contain any space; underscore can be given instead of
spaces.
Table name should not contain any special symbol.
The table name should be provided with descriptive names as far as possible.
FOR eg: EmpMaster
This clearly indicates that it contains information of the employee.
The name of the projects should reflect the contents of the project and should be
saved with a “*.vbp” extension. The name could be more than 10 characters long and a
mixture of small case and upper case letters. They cannot include any special symbols
except for an underscore i.e. “_”
Eg: SmartSoft_vb_1.vbp
2. COMMAND BUTTON
The command buttons should be named with a keyword “cmd” preceding the
name of the button making it easier to understand that we are referring to a
command button.
The first letter of the command button name after the keyword should be capital.
They cannot include any special symbol except for an underscore i.e.”_”
Eg: CmdXXX i.e. CmdAaa
3. LABELS
The labels should be named with a keyword “lbl” preceding the name of the label
making it easier to understand that we are referring to a label.
The first letter of the label name after the keyword should be capital.
They cannot include any special symbols except for an underscore i.e.”_”
4. TEXTBOX
5. FRAMES
The frames should be named with a keyword”fra” preceding the name of the
frame making it easier to understand that we are referring to a textbox.
The first letter of the frame name after the keyword should be capital.
They cannot include any special symbols except for an underscore i.e. “_”
Eg: fraXXX i.e. fraSmartSoft
6. COMBO BOX
The combo box should be named with a keyword “cmb” or "cbo" preceding the
name of the combo box making it easier to understand that we are referring to a
listbox.
The first letter of the frame name after the keyword should be capital.
They cannot include any special symbols except for an underscore i.e. “_”
Eg: cmbCmpName cboProducts
NOTE : By default the names of all the properties of the form elements are
beginning with the capital letter.
NOTE
By default the names of all the properties of the variables and constants are
beginning with a capital letter.
8. MENUS
While declaring menu name we follow the usual convention where before the
menu element name field we have a keyword “mnu” preceded by the name.
Eg: mnuOpenMain
9. TABLE NAME
The table name must have a unique name via when it can be referred to after its
creation.
The table name should not contain any space. Underscore can be given instead of
space.
C H A P T E R
6
♦ ♦ ♦ ♦ ♦
Program
Documentation
In This Chapter
1) Program ID
2) Program level pseudopodia
3) Text data
4) Text results
This is the introductory form which just appears while loading the program
This form is used to gain access to the system by entering the user name and
password given to the user
As soon as you put your correct login name and password you can get the control
to use the software
Dim rs As ADODB.Recordset
bill.Sections("Section2").Controls.Item("lblName").Caption = txtName1.Text
bill.Sections("Section2").Controls.Item("lblAdd").Caption = txtAddress1.Text
bill.Sections("Section2").Controls.Item("lblRUsed").Caption = " Room No : 1"
bill.Sections("Section2").Controls.Item("lblRes").Caption = lblDateReserved1
bill.Sections("Section2").Controls.Item("lblDI").Caption = lblDaysIncurred1 & " Day(s)"
bill.Sections("Section2").Controls.Item("lblChkIn").Caption = lblDateIn1
bill.Sections("Section2").Controls.Item("lblChkOut").Caption = lblDateOut1
bill.Sections("Section2").Controls.Item("lblBill").Caption = "Rs " & lblCharge1 &
"Only"
bill.Show
End Sub
bill.Sections("Section2").Controls.Item("lblName").Caption = txtName2.Text
bill.Sections("Section2").Controls.Item("lblAdd").Caption = txtAddress2.Text
bill.Sections("Section2").Controls.Item("lblRUsed").Caption = " Room No : 2"
bill.Sections("Section2").Controls.Item("lblRes").Caption = lblDateReserved2
bill.Sections("Section2").Controls.Item("lblDI").Caption = lblDaysIncurred2 & " Day(s)"
bill.Sections("Section2").Controls.Item("lblChkIn").Caption = lblDateIn2
bill.Sections("Section2").Controls.Item("lblChkOut").Caption = lblDateOut2
bill.Sections("Section2").Controls.Item("lblBill").Caption = "Rs " & lblCharge2 &
"Only"
bill.Show
End Sub
bill.Sections("Section2").Controls.Item("lblName").Caption = txtName3.Text
bill.Sections("Section2").Controls.Item("lblAdd").Caption = txtAddress3.Text
bill.Sections("Section2").Controls.Item("lblRUsed").Caption = " Room No : 3"
bill.Sections("Section2").Controls.Item("lblRes").Caption = lblDateReserved3
bill.Sections("Section2").Controls.Item("lblDI").Caption = lblDaysIncurred3 & " Day(s)"
bill.Sections("Section2").Controls.Item("lblChkIn").Caption = lblDateIn3
bill.Sections("Section2").Controls.Item("lblChkOut").Caption = lblDateOut3
bill.Sections("Section2").Controls.Item("lblBill").Caption = "Rs " & lblCharge3 &
"Only"
bill.Show
End Sub
SSTab1.TabCaption(0) = "Room 1" & " [" & RStatus & "]"
If RStatus = "Available" Then
Toolbar1.Buttons(1).Enabled = False
Toolbar1.Buttons(2).Enabled = False
Toolbar1.Buttons(3).Enabled = False
Toolbar1.Buttons(4).Enabled = True
With rs1
txtName1 = .Fields("Name")
txtAddress1 = .Fields("Address")
txtAge1 = .Fields("Age")
cmdGender1 = .Fields("Gender")
txtNationality1 = .Fields("Nationality")
lblDateReserved1 = .Fields("DateReserved")
End With
ElseIf RStatus = "Using" Then
Toolbar1.Buttons(1).Enabled = False
Toolbar1.Buttons(2).Enabled = False
Toolbar1.Buttons(3).Enabled = True
Toolbar1.Buttons(4).Enabled = False
Toolbar1.Buttons(5).Enabled = True
With rs1
txtName1 = .Fields("Name")
txtAddress1 = .Fields("Address")
txtAge1 = .Fields("Age")
cmdGender1 = .Fields("Gender")
txtNationality1 = .Fields("Nationality")
lblDateReserved1 = .Fields("DateReserved")
lblDateIn1 = .Fields("DateIn")
RStatus = .Fields("Status")
End With
With rs1
txtName1 = .Fields("Name")
txtAddress1 = .Fields("Address")
txtAge1 = .Fields("Age")
cmdGender1 = .Fields("Gender")
SSTab1.TabCaption(1) = "Room 2" & " [" & RStatus & "]"
If RStatus = "Available" Then
Toolbar2.Buttons(1).Enabled = False
Toolbar2.Buttons(2).Enabled = False
Toolbar2.Buttons(3).Enabled = False
Toolbar2.Buttons(4).Enabled = True
Toolbar2.Buttons(5).Enabled = False
With rs2
txtName2 = .Fields("Name")
txtAddress2 = .Fields("Address")
txtAge2 = .Fields("Age")
cmdGender2 = .Fields("Gender")
txtNationality2 = .Fields("Nationality")
lblDateReserved2 = .Fields("DateReserved")
With rs2
txtName2 = .Fields("Name")
txtAddress2 = .Fields("Address")
txtAge2 = .Fields("Age")
cmdGender2 = .Fields("Gender")
txtNationality2 = .Fields("Nationality")
lblDateReserved2 = .Fields("DateReserved")
lblDateIn2 = .Fields("DateIn")
RStatus = .Fields("Status")
End With
With rs2
txtName2 = .Fields("Name")
txtAddress2 = .Fields("Address")
txtAge2 = .Fields("Age")
cmdGender2 = .Fields("Gender")
txtNationality2 = .Fields("Nationality")
lblDateReserved2 = .Fields("DateReserved")
lblDateIn2 = .Fields("DateIn")
lblDateOut2 = .Fields("DateOut")
lblDaysIncurred2 = .Fields("DaysIncurred")
lblCharge2 = .Fields("Charge")
End With
End If
rs2.Close
Timer2.Enabled = False
End Sub
With rs3
RStatus = .Fields("Status")
End With
SSTab1.TabCaption(2) = "Room 3" & " [" & RStatus & "]"
If RStatus = "Available" Then
Toolbar3.Buttons(1).Enabled = False
Toolbar3.Buttons(2).Enabled = False
Toolbar3.Buttons(3).Enabled = False
Toolbar3.Buttons(4).Enabled = True
Toolbar3.Buttons(5).Enabled = False
End If
If RStatus = "Reserved" Then
Toolbar3.Buttons(1).Enabled = False
Toolbar3.Buttons(2).Enabled = True
Toolbar3.Buttons(3).Enabled = False
Toolbar3.Buttons(4).Enabled = False
Toolbar3.Buttons(5).Enabled = True
With rs3
txtName3 = .Fields("Name")
txtAddress3 = .Fields("Address")
txtAge3 = .Fields("Age")
cmdGender3 = .Fields("Gender")
txtNationality3 = .Fields("Nationality")
lblDateReserved3 = .Fields("DateReserved")
End With
End If
If RStatus = "Using" Then
Toolbar3.Buttons(1).Enabled = False
Toolbar3.Buttons(2).Enabled = False
Toolbar3.Buttons(3).Enabled = True
Toolbar3.Buttons(4).Enabled = False
Toolbar3.Buttons(5).Enabled = True
With rs3
txtName3 = .Fields("Name")
With rsR
rSS = .Fields("PerDay")
End With
lblDaysIncurred1 = Charge
Charge = Charge * rSS
txtName1 = .Fields("Name")
txtAddress1 = .Fields("Address")
txtAge1 = .Fields("Age")
cmdGender1 = .Fields("Gender")
txtNationality1 = .Fields("Nationality")
lblDateReserved1 = .Fields("DateReserved")
lblDateIn1 = .Fields("DateIn")
lblDateOut1 = .Fields("DateOut")
lblDaysIncurred1 = ""
lblCharge1 = .Fields("Charge")
End If
End With
rs1.Close
cmdGbill1.Enabled = False
With rsR
rSS = .Fields("PerDay")
End With
lblDaysIncurred2 = Charge
Charge = Charge * rSS
lblCharge2 = Charge
With rs2
.MoveLast
.Fields("Name") = txtName2
.Fields("Address") = txtAddress2
.Fields("Age") = txtAge2
.Fields("Gender") = cmdGender2
.Fields("Nationality") = txtNationality2
.Fields("DateReserved") = lblDateReserved2
.Fields("DateIn") = lblDateIn2
.Fields("DateOut") = lblDateOut2
.Fields("DaysIncurred") = lblDaysIncurred2
.Fields("Charge") = Charge
.Fields("Status") = "Ou t"
.Update
End With
rs2.Close
Set rsCR = New ADODB.Recordset
rsCR.Open "select * from CustomerRecord", con1, adOpenDynamic,
adLockOptimistic
With rsCR
If .EOF = False Then
.MoveLast
End If
.AddNew
.Fields("RoomNUmber") = "2"
.Fields("RoomType") = "Standard [Single]"
.Fields("Name") = txtName2
.Fields("Address") = txtAddress2
.Fields("Age") = txtAge2
.Fields("Gender") = cmdGender2
txtName2 = .Fields("Name")
txtAddress2 = .Fields("Address")
txtAge2 = .Fields("Age")
cmdGender2 = .Fields("Gender")
With rsR
rSS = .Fields("PerDay")
End With
lblDaysIncurred3 = Charge
Charge = Charge * rSS
lblCharge3 = Charge
With rs3
.MoveLast
.Fields("Name") = txtName3
.Fields("Address") = txtAddress3
.Fields("Age") = txtAge3
.Fields("Gender") = cmdGender3
.Fields("Nationality") = txtNationality3
.Fields("DateReserved") = lblDateReserved3
.Fields("DateIn") = lblDateIn3
.Fields("DateOut") = lblDateOut3
.Fields("DaysIncurred") = lblDaysIncurred3
.Fields("Charge") = Charge
.Fields("Status") = "Out"
.Update
txtName3 = .Fields("Name")
txtAddress3 = .Fields("Address")
txtAge3 = .Fields("Age")
cmdGender3 = .Fields("Gender")
txtNationality3 = .Fields("Nationality")
lblDateReserved3 = .Fields("DateReserved")
lblDateIn3 = .Fields("DateIn")
lblDateOut3 = .Fields("DateOut")
lblDaysIncurred3 = ""
lblCharge3 = .Fields("Charge")
End If
End With
rs3.Close
cmdGbill3.Enabled = False
2) Login Form
7
♦ ♦ ♦ ♦
♦
Reports
In This Chapter
1) Reports
8
♦ ♦ ♦ ♦
♦
Conclusio
n
In This Chapter
1) Conclusion
9
♦ ♦ ♦ ♦
♦
Future
Enhancement
In This Chapter
1) Future Enhancement
2). With time software will be made more consistent and integrated.
3). User Interface (U.I) will be made more user friendly and attractive.
10
♦ ♦ ♦ ♦
♦
Bibliography
In This Chapter
1) Bibliography
WEB REFENCE:-
www.google.com
www.vbcity.com
INTERNET REFERENCE:-
MSDN LIBRARY
MS-ACCESS HELP