Professional Documents
Culture Documents
The Project is entitled “Vehicle Showroom Management System”. The main objective of this
project is to each and every process done in a firm is stored in a firm is stored in a system for
easy access and future reference.
In today's information-rich society, every field is computerized. Each and every process done in
a firm is stored in a firm is stored in a system for easy access and future reference. In a vehicle
showroom there will be vehicle sales and information regarding that sale such as when it has
been sold, to whom, details of customer, about the amount and details of the vehicle etc. Also
showroom has to record the details of employees working there. The Computerization of Vehicle
Showroom management system plays an important role in any country’s economic development.
The propose software assist the authorities in dealing with their proceedings in accordance with
the existing rules and regulations. The system facilitates an easy and user-friendly means to the
different users present in the vehicle Management System. Intense care has been provided in
each step to handle the software as user friendly one. It helps in minimizing the time and
maintaining the level of production. This project maintains the details about employees, Enquiry,
Sales and Service. The major advantage of this project is it helps in total vehicle show room
management automation.
This Project is made using VB basic as front end and Microsoft Access as back end.
MODULES DESCRIPTION:
Login
Employee Info
Manufacture Info
Enquiry Info
Vehicle Booking Info
Vehicle Service Info
1
Login:
This module used for security purpose .user give username and password .if user give correct
username and password user will allow otherwise user is not enter to application.
Employee Info:
Employee Id, Employee Name, Gender ,Phone Number, Address, Salary, Father Name , Date Of
Birth, Date Of Joining, Email Address are registered here. Using this module we can maintain
the employee details. By using this Enquiry by, Service by fields are automatically fetched.
Manufacturer Info:
Manufacture Id, Company Name, Phone No, Address, Email Id, Website Name, Description
are registered here. By using this we can maintain the manufacturer Information. Vehicle
manufacturing company like TVS, Honda, Fiat, and Maruthi are maintained by this module.
Enquiry Info
Enquiry Id, Enquiry Date, Customer Name, Phone No, Address, Email ID, Company Name,
Vehicle Type, Model Name, Enquiry By are registered here. This could range from a simple
orders list to more sophisticated reports such as top enquiry items, etc.
Booking id, Booking Date, Register Name, Customer Phone Number, Customer Address, Email
Id, Company Name is fetched by manufacturer information module, Model Name like kick start
or fully loaded, Vehicle Type like two wheeler or four wheeler, Vehicle Color like pale yellow,
Amount of initial payment, Mode of Payment that means cash or credit, Registration Number,
Booking By are maintained here. By using this module we can estimate number of booking for a
day. It is used to company development analyze.
The completed services are usually recorded in a service book which is rubber stamped by the
service center upon completion of each service.
2
CONTENTS
3
Chapter No Title Page No
1. Introduction 1
1.1. Organization Profile
1.2. Problem Statement
2. System Analysis
2.1. Approach
2.2. Existing System
2.3. Proposed System
2.4. Need For Computerization
3. System Configuration
3.1. Hardware Configuration
3.2. Software Configuration
4. System Development
4.1. Project Specification
4.2. Module Description
4.3. Form Validation
5. System Design
5.1. Input Design
5.2. Code Design
5.3. Database Design
5.4. Output Design
5.5. Data Flow Diagram
6. Testing and Implementation
7. Future Enhancement
8. Conclusion
9. Bibliography
10. Appendices
A. Input Screen
B. Sampling Code
4
Chapter1
INTRODUCTION
1.1 Organization Profile
5
6
1.2 Problem Statement
This project “Vehicle Showroom Management System” deals with computerizing the vehicle
showroom management process. If we are maintaining the process in manual way it takes more
time to maintain every detail in papers, security of information is lacked and confusion occur in
the transactions. No effective communication between customer and the vendor. Customer spent
lots of time for this process. To avoid all the above problems this project is made. Vehicle
Showroom Management System reduces the time. It introduces a new channel to interact with
customers. It adapts to all networks. This is the objective of the project.
7
Chapter 2
SYSTEM
ANALYSIS
8
2. SYSTEM ANALYSIS
2.1.APPROACH
The data which were manually collected and the same is analyzed for computerization.
System Analysis means the set of requirement and the description for the new system. This aims
to understand how an existing system operation there by project to proposed system.
2.2.EXISTING SYSTEM
The existing system is the manual system. The manual system is prone to error. It is time
consuming. It is very difficult for a person to produce the report. There are chances for changing
the scheme report and do malpractice. This system involves a lot of manual entries with the
applications to perform the desired task. Usage of papers in the payment process leads to less
efficiency, less accuracy and less productivity.
2.3.Proposed System
Proposed system is being developed using visual basic 6 as front end and Ms-Access as back
end. The aim of proposed system is to develop a system of improved facilities.
The proposed system can overcome all the limitations of the existing system.
1. The primary aim of the new system is to speedup transactions. The report is prepared
for the schemes and implemented by the concerned officials.
2. Computerized management process.
9
3. It comes as no surprise to one that when everything is being converted to
computerize. Already the business has to global with the coming of Internet. Now, no
more the individual aims at the local market is also just a click of button away.
Dozens of companies are in the race to convince auction and bidding that a pot of
Policy’s awaits those who conduct their business on the Internet. In this fast race of
business and moneymaking, no country, no company and no individual want to fall
back. Everyone wants to lead the group. Hence, everyone is trying to make the best
use of Internet.
The system is very simple in design and to implement. The system requires very low
system resources and the system will work in almost all configurations.
1. Security of data.
2. Proper control of administrator
3. Minimum time for needed for the various processing.
4. Greater efficiency & Better service.
5. A member can add a new account whenever he wants.
6. Owner can add property info at anytime and anywhere.
7. Admin can control overall system.
The storage and the retrieval of the data were difficult and data entry was time consuming are
some of the reasons for computerization are:
10
Its user friendly and helps in obtaining knowledge.
11
Chapter 3
System Configuration
3.SYSTEM CONFIGURATION
12
3.1.Software requirements:
3.2.Hardware Specification:
13
Chapter 4
System Specifications
14
4.SYSTEM SPECIFICATIONS
MICROSOFT WINDOWS XP
Future of Windows XP
The window XP service pack is the operating system which provides more security, flexibility
and high performance in comparison with the previous version and offers full level
compatibility with the windows updating and innovative support services creates the best
desktop operating system for business.
Architectural independence
Less Crashing
Faster Internet Performance
Better Photo Handling and Printing
Treats a CD-RW like a real drive
System Restore
Centralized Administration
Large memory space
Remote access server
15
BASIC and enables the rapid application development (RED) of graphical user interface (GUI)
applications, access to databases using Data Access Objects, Remote Data Objects, Or ActiveX
Data Objects and creation ActiveX controls and objects. Programs written on Visual Basic can
also use the Windows API, but doing so requires external function declarations.
Properties define the characteristic of a size and color etc. sometimes it is the way in
which it behaves the method is as action that can he performed on objects.VB forms and
controls are object, which expose the own properties, methods and events.
Developing an Application:
Visual basic involves designing an application with various tools. The code
programming step involves writing the program using a text editor.
Programming Fundamentals:
Visual basic uses building blocks such as variables, Data types Procedures, Functions and
Controls structures in its programming environment.
A Menu Editor can be used to add a new command to the existing menu which creates
menu bar, change or delete an existing menu.
Data Environment:
The Data Environment Designer allows quick and building of hierarchical record set
during the design time. Programming is the result in Data Environment Object however requires
the knowledge of ADO programming Model combines with the characters of hierarchical record
set.
16
The text box is the standard control for accepting input from the user as well as to display the
output. It can handle string (text) and numeric data but not images or pictures. String in a text
box can be converted to a numeric data by using the function Val (text).
The label is a very useful control for Visual Basic, as it is not only used to provide
instructions and guides to the users, it can also be used to display outputs. One of its most
important properties is caption. Using the syntax Label Caption, it can display text and numeric
data. You can change caption in the properties window and also at runtime.
The command button is one of the most important controls as it is used to execute commands.
It display an illusion that the button is pressed when the user click on it. The most common event
associated with the command button is the click event.
The Image Box is another control that handles images and pictures. It functions almost
identically to the picture box. However, there is one major difference, the image in an image box
is stretchable, which means it can be resizes. This features is not available in the picture Box.
The function of the combo Box is also to present a list of items where the user can click and
select the items from the list. However, the user needs to click on the small arrowed head on the
right of the combo box to see the items which are presented in a drop–down list. In order to add
items to the list, you can also use the Add Item method.
The Check Box control lets the user selects or unselects an option. When the Check Box is
checked, its value is set to 1 and when it is unchecked, the value is set to 0. You can include the
statements check1. Value=1 to mark the Check Box and Check1.Value=0 to unmark the Check
Box, as well as use them to initiate certain actions.
17
Owner Info
Member Info
Properties Info
Booking Info
Staff Info
Profile
Login:
This module used for security purpose .user give username and password .if user give
correct username and password user will allow otherwise user is not enter to application.
Employee Info:
Employee Id, Employee Name, Gender ,Phone Number, Address, Salary, Father Name ,
Date Of Birth, Date Of Joining, Email Address are registered here. Using this module we
can maintain the employee details. By using this Enquiry by, Service by fields are
automatically fetched.
Manufacturer Info:
Manufacture Id, Company Name, Phone No, Address, Email Id, Website Name,
Description are registered here. By using this we can maintain the manufacturer
Information. Vehicle manufacturing company like TVS, Honda, Fiat, and Maruthi are
maintained by this module.
Enquiry Info
Enquiry Id, Enquiry Date, Customer Name, Phone No, Address, Email ID, Company
Name, Vehicle Type, Model Name, Enquiry By are registered here. This could range from a
simple orders list to more sophisticated reports such as top enquiry items, etc.
Booking id, Booking Date, Register Name, Customer Phone Number, Customer Address, Email
Id, Company Name is fetched by manufacturer information module, Model Name like kick start
or fully loaded, Vehicle Type like two wheeler or four wheeler, Vehicle Color like pale yellow,
18
Amount of initial payment, Mode of Payment that means cash or credit, Registration Number,
Booking By are maintained here. By using this module we can estimate number of booking for a
day. It is used to company development analyze.
The completed services are usually recorded in a service book which is rubber stamped by the
service center upon completion of each service.
Owner Info Form: Validation was done to ensure that the owner has entered numeric values in
numeric fields and has entered the alphabets for text fields and has entered the correct date in the
date/time field.
Member Info Form: Validation was done to ensure that the member has entered numeric values
in numeric fields and has entered the alphabets for text fields and has entered the correct date in
the date/time field.
Property Info Form: Each field was tested by the programmer. Validation was done to ensure
the owner has enters a numeric value in the amount field.
19
Chapter 5
System Design
5.SYSTEM DESIGN
20
Design is a iterative process thought which requirements a translated into or blue print for
constructing the software design must implement all the implicit all threw implicit requirements
and explicit requirements. It must be a readable and understandable. It is not coding. The initial
focus of the project will be on in-house league formats. However, the user interface is designed
to organize the users' data efficiently and intuitively and can be easily extended to support almost
any kind of athletic event. The scheduling system will be developed in Java, while web-based
components will be developed in HTML.
5.1.Input Design
Input design is the process of converting a user-oriented description of the input into a computer-
based system. This design is important to avoid errors in the data input process and show the
correct direction to the management for getting correct information from the computerized
system.
It is achieved by creating user-friendly screens for the data entry to handle large volume of data.
The goal of designing input is to make data entry easier and to free from errors. The data entry
screens is designed such a way that all the data manipulates can be performed. It also provides
record viewing facilities. When the data is entered it will check for its validity.
Data can be entered with the help of the screen. Appropriate message are provided as when
needed so that the user will not be in maize of instant. The design of input focuses on controlling
the amount of input required, controlling the errors, avoiding delay, avoiding extra steps and
keeping the process simple. The input is designed in such a way so that it provides security.
5.2.CODE DESIGN
21
Can be used to give Operational characteristics.
Table : Login
22
Table : Manufacturer Info
23
Table : Service Info
24
RegNo Text 50 RegNo
BookingBy Text 50 BookingBy
25
Table : Customer Info
Designing computer output should processed in an organized, well thought out manner; the right
output must be developed while ensuring that each output element is designed so that people will
find the system can use easily and effectively.
26
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In output designs it is determined how the information is to be displaced for
immediate need and also the hard copy output. It is the most important and direct source
information to the user. Efficient and intelligent output design improves the system’s relationship
to help user decision making.
27
5.5Data Flow Diagram
28
Chapter 6
29
6. SYSTEM IMPLEMENTATION AND TESTING
6.1.SYSTEM TESTING
A strategy for software testing may also be viewed in the context of the spiral. Unit testing
begins at the vertex of the spiral and concentrates on each unit of the software as implemented in
source code. Testing progress by moving outward along the spiral to integration testing, where
the focus is on the design and the construction of the software architecture. Talking another turn
on outward on the spiral we encounter validation testing where requirements established as part
of software requirements analysis are validated against the software that has been constructed.
Finally we arrive at system testing, where the software and other system elements are tested as a
whole.
UNIT TESTING
All modules were tested and individually as soon as they were completed and were checked for
their correct functionality. Unit testing focuses verification effort on the smallest unit of software
design, the module. The unit testing we have is white box oriented and some modules the steps
are conducted in parallel. To follow the concept of white box testing we have tested each form
.we have created independently to verify that Data flow is correct, All conditions are exercised to
check their validity, All loops are executed on their boundaries.
INTEGRATION TESTING
The entire project was split into small program; each of this single programs gives a frame as
an output. These programs were tested individually; at last all these programs where combined
together by creating another program where all these constructors were used. It give a lot of
problem by not functioning is an integrated manner.
The user interface testing is important since the user has to declare that the arrangements
made in frames are convenient and it is satisfied. when the frames where given for the test, the
end user gave suggestion. Based on their suggestions the frames where modified and put into
practice.
30
VALIDATION TESTING
At the culmination of the black box testing software is completely assembled as a package.
Interfacing errors have been uncovered and corrected and a final series of test i.e., Validation
succeeds when the software function in a manner that can be reasonably Accepted by the
customer.
System implementation is stage in the project where the theoretical design is turned into the
working system. The most crucial stage is giving the users confidence that the new system will
work effectively and efficiently.
The performance of reliability of the system is tested and it gained acceptance. The system was
implemented successfully. Implementation is a process that means converting a new system in to
operation.
31
7.FUTURE ENHANCEMENT
In future we will add automated mobile alerts for members and owner’s means if any user places
an order then alerts will automatically go to the member mobile. Also if any owner signs up into
our site then his user name and password sends to his mobile. Any property updates will also
sends to his mobile. If any new discounts or offers also sends to owners mobile.
Now we are maintaining owner, user communication through email id, but in future we will
implement it with mobile alerts by sending all customers booking and personal information
automatically to vendor’s mobile immediately. We also extend our website too many cities and
also with much more cities. Also we will provide automated mail communication between
owners and administrator.
32
Chapter 8
Conclusion
33
8.CONCLUSION
The main purpose of Vehicle Management System. We are maintaining good communication
between owners and the members. The Computerization of Vehicle Showroom management
system plays an important role in any country’s economic development. The propose software
assist the authorities in dealing with their proceedings in accordance with the existing rules and
regulations. The system facilitates an easy and user-friendly means to the different users present
in the vehicle Management System. Intense care has been provided in each step to handle the
software as user friendly one. It helps in minimizing the time and maintaining the level of
production. This project maintains the details about employees, Enquiry, Sales and Service. The
major advantage of this project is it helps in total vehicle show room management automation.
34
Chapter 10
Appendices
35
APPENDICES
A.INPUT SCREEN
Login Page
36
Admin Page
Home Page
37
Employee Info
Manufacturer Info
38
Vehicle Purchase Info
39
Vehicle Booking Info
40
B.SAMPLE CODE
End
End Sub
txtUserId.SetFocus
txtPassword.SetFocus
cmbUserType.SetFocus
Else
qry = "select * from Login where UserId='" + txtUserId.Text + "' and [Password]='" +
txtPassword.Text + "' and UserType='" + cmbUserType.Text + "'"
dataLogin.RecordSource = qry
dataLogin.Refresh
41
If Not dataLogin.Recordset.EOF Then
Me.Hide
frmMain.Show
Else
txtUserId.SetFocus
End If
End If
End Sub
dataLogin.DatabaseName = DBName
dataLogin.RecordsetType = 1
End Sub
Manufacture Info
dataManufractureinfo.RecordSource = qry
dataManufractureinfo.Refresh
42
If Not dataManufractureinfo.Recordset.EOF Then
dataManufractureinfo.Recordset.MoveFirst
dataManufractureinfo.Recordset.Delete
MsgBox "Deleted"
txtMId.Text = ""
txtCompanyName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
txtWebSiteName.Text = ""
txtDescription.Text = ""
txtSearchbox.Text = ""
txtMId.SetFocus
Else
End If
End If
End Sub
43
Private Sub cmdNew_Click()
txtMId.Text = ""
txtCompanyName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
txtWebSiteName.Text = ""
txtDescription.Text = ""
txtSearchbox.Text = ""
txtMId.SetFocus
End Sub
dataManufractureinfo.RecordSource = qry
dataManufractureinfo.Refresh
dataManufractureinfo.Recordset.MoveFirst
dataManufractureinfo.Recordset.Edit
Else
dataManufractureinfo.Recordset.AddNew
44
End If
dataManufractureinfo.Recordset(0) = txtMId.Text
dataManufractureinfo.Recordset(1) = txtCompanyName.Text
dataManufractureinfo.Recordset(2) = txtPhNo.Text
dataManufractureinfo.Recordset(3) = txtAddress.Text
dataManufractureinfo.Recordset(4) = txtEMailId.Text
dataManufractureinfo.Recordset(5) = txtWebSiteName.Text
dataManufractureinfo.Recordset(6) = txtDescription.Text
dataManufractureinfo.Recordset.Update
MsgBox "Saved"
txtMId.Text = ""
txtCompanyName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
txtWebSiteName.Text = ""
txtDescription.Text = ""
txtSearchbox.Text = ""
txtMId.SetFocus
End Sub
45
Private Sub cmdSearch_Click()
dataManufractureinfo.RecordSource = qry
dataManufractureinfo.Refresh
dataManufractureinfo.Recordset.MoveFirst
txtMId.Text = dataManufractureinfo.Recordset(0)
txtCompanyName.Text = dataManufractureinfo.Recordset(1)
txtPhNo.Text = dataManufractureinfo.Recordset(2)
txtAddress.Text = dataManufractureinfo.Recordset(3)
txtEMailId.Text = dataManufractureinfo.Recordset(4)
txtWebSiteName.Text = dataManufractureinfo.Recordset(5)
txtDescription.Text = dataManufractureinfo.Recordset(6)
txtSearchbox.Text = ""
Else
End If
End Sub
46
dataManufractureinfo.DatabaseName = DBName
dataManufractureinfo.RecordsetType = 1
End Sub
dataEnquiryInfo.RecordSource = qry
dataEnquiryInfo.Refresh
dataEnquiryInfo.Recordset.MoveFirst
dataEnquiryInfo.Recordset.Delete
MsgBox "Deleted"
txtEid.Text = ""
txtEnquiryDate.Text = ""
txtCustomerName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
47
txtCompanyName.Text = ""
txtVehicleType.Text = ""
txtModelName.Text = ""
txtEnquiryBy.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
Else
End If
End If
End Sub
txtEid.Text = ""
txtEnquiryDate.Text = ""
txtCustomerName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
txtCompanyName.Text = ""
txtVehicleType.Text = ""
txtModelName.Text = ""
48
txtEnquiryBy.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
End Sub
dataEnquiryInfo.RecordSource = qry
dataEnquiryInfo.Refresh
dataEnquiryInfo.Recordset.MoveFirst
dataEnquiryInfo.Recordset.Edit
Else
dataEnquiryInfo.Recordset.AddNew
End If
dataEnquiryInfo.Recordset(0) = txtEid.Text
dataEnquiryInfo.Recordset(1) = txtEnquiryDate.Text
dataEnquiryInfo.Recordset(2) = txtCustomerName.Text
dataEnquiryInfo.Recordset(3) = txtPhNo.Text
dataEnquiryInfo.Recordset(4) = txtAddress.Text
49
dataEnquiryInfo.Recordset(5) = txtEMailId.Text
dataEnquiryInfo.Recordset(6) = txtCompanyName.Text
dataEnquiryInfo.Recordset(7) = txtVehicleType.Text
dataEnquiryInfo.Recordset(8) = txtModelName.Text
dataEnquiryInfo.Recordset(9) = txtEnquiryBy.Text
dataEnquiryInfo.Recordset.Update
MsgBox "Saved"
txtEid.Text = ""
txtEnquiryDate.Text = ""
txtCustomerName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtEMailId.Text = ""
txtCompanyName.Text = ""
txtVehicleType.Text = ""
txtModelName.Text = ""
txtEnquiryBy.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
End Sub
50
Private Sub cmdSearch_Click()
dataEnquiryInfo.RecordSource = qry
dataEnquiryInfo.Refresh
dataEnquiryInfo.Recordset.MoveFirst
txtEid.Text = dataEnquiryInfo.Recordset(0)
txtEnquiryDate.Text = dataEnquiryInfo.Recordset(1)
txtCustomerName.Text = dataEnquiryInfo.Recordset(2)
txtPhNo.Text = dataEnquiryInfo.Recordset(3)
txtAddress.Text = dataEnquiryInfo.Recordset(4)
txtEMailId.Text = dataEnquiryInfo.Recordset(5)
txtCompanyName.Text = dataEnquiryInfo.Recordset(6)
txtVehicleType.Text = dataEnquiryInfo.Recordset(7)
txtModelName.Text = dataEnquiryInfo.Recordset(8)
txtEnquiryBy.Text = dataEnquiryInfo.Recordset(9)
51
txtSearchbox.Text = ""
Else
End If
End Sub
rptEnquiry.Show
End Sub
dataEnquiryInfo.DatabaseName = DBName
dataEnquiryInfo.RecordsetType = 1
End Sub
52
Dim qry As String
qry = "select * from BookingInfo where Bid='" + txtBid.Text + "'"
dataVechileBookinginfo.RecordSource = qry
dataVechileBookinginfo.Refresh
txtBid.Text = ""
txtBookingDate.Text = ""
txtRegisterName.Text = ""
txtPhNo.Text = ""
txtEmailId.Text = ""
txtCompanyName.Text = ""
txtModelName.Text = ""
txtVehicleType.Text = ""
txtVehicleColor.Text = ""
txtAmount.Text = ""
txtModePayment.Text = ""
txtRegNo.Text = ""
txtBookingBy.Text = ""
txtSearchbox.Text = ""
txtBid.SetFocus
Else
MsgBox "Not Found"
End If
End If
End Sub
txtBid.Text = ""
txtBookingDate.Text = ""
txtRegisterName.Text = ""
txtPhNo.Text = ""
txtEmailId.Text = ""
53
txtCompanyName.Text = ""
txtModelName.Text = ""
txtVehicleType.Text = ""
txtVehicleColor.Text = ""
txtAmount.Text = ""
txtModePayment.Text = ""
txtRegNo.Text = ""
txtBookingBy.Text = ""
txtSearchbox.Text = ""
txtBid.SetFocus
End Sub
dataVechileBookinginfo.RecordSource = qry
dataVechileBookinginfo.Refresh
dataVechileBookinginfo.Recordset(0) = txtBid.Text
dataVechileBookinginfo.Recordset(1) = txtBookingDate.Text
dataVechileBookinginfo.Recordset(2) = txtRegisterName.Text
dataVechileBookinginfo.Recordset(3) = txtPhNo.Text
dataVechileBookinginfo.Recordset(4) = txtAddress.Text
dataVechileBookinginfo.Recordset(5) = txtEmailId.Text
dataVechileBookinginfo.Recordset(6) = txtCompanyName.Text
dataVechileBookinginfo.Recordset(7) = txtModelName.Text
dataVechileBookinginfo.Recordset(8) = txtVehicleType.Text
dataVechileBookinginfo.Recordset(9) = txtVehicleColor.Text
dataVechileBookinginfo.Recordset(10) = txtAmount.Text
dataVechileBookinginfo.Recordset(11) = txtModePayment.Text
dataVechileBookinginfo.Recordset(12) = txtRegNo.Text
54
dataVechileBookinginfo.Recordset(13) = txtBookingBy.Text
dataVechileBookinginfo.Recordset.Update
MsgBox "Saved"
txtBid.Text = ""
txtBookingDate.Text = ""
txtRegisterName.Text = ""
txtPhNo.Text = ""
txtEmailId.Text = ""
txtCompanyName.Text = ""
txtModelName.Text = ""
txtVehicleType.Text = ""
txtVehicleColor.Text = ""
txtAmount.Text = ""
txtModePayment.Text = ""
txtRegNo.Text = ""
txtBookingBy.Text = ""
txtSearchbox.Text = ""
txtBid.SetFocus
End Sub
dataVechileBookinginfo.RecordSource = qry
dataVechileBookinginfo.Refresh
55
txtVehicleType.Text = dataVechileBookinginfo.Recordset(8)
txtVehicleColor.Text = dataVechileBookinginfo.Recordset(9)
txtAmount.Text = dataVechileBookinginfo.Recordset(10)
txtModePayment.Text = dataVechileBookinginfo.Recordset(11)
txtRegNo.Text = dataVechileBookinginfo.Recordset(12)
txtBookingBy.Text = dataVechileBookinginfo.Recordset(13)
txtSearchbox.Text = ""
Else
MsgBox "Not Found"
End If
End Sub
End Sub
dataVechileServiceinfo.RecordSource = qry
dataVechileServiceinfo.Refresh
txtSId.Text = ""
56
txtServiceDate.Text = ""
txtCustomerName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtRegNo.Text = ""
txtVehicleType.Text = ""
txtCompanyName.Text = ""
txtModelName.Text = ""
txtServiceAmount.Text = ""
txtServiceBy.Text = ""
txtDesription.Text = ""
txtSearchbox.Text = ""
txtSId.SetFocus
Else
MsgBox "Not Found"
End If
End If
End Sub
txtSearchbox.Text = ""
txtSId.Text = SetFocus
End Sub
57
Private Sub cmdSave_Click()
Dim qry As String
qry = "select * from ServiceInfo where Sid='" + txtSId.Text + "'"
dataVechileServiceinfo.RecordSource = qry
dataVechileServiceinfo.Refresh
dataVechileServiceinfo.Recordset(0) = txtSId.Text
dataVechileServiceinfo.Recordset(1) = txtServiceDate.Text
dataVechileServiceinfo.Recordset(2) = txtCustomerName.Text
dataVechileServiceinfo.Recordset(3) = txtPhNo.Text
dataVechileServiceinfo.Recordset(4) = txtAddress.Text
dataVechileServiceinfo.Recordset(5) = txtRegNo
dataVechileServiceinfo.Recordset(6) = txtVehicleType.Text
dataVechileServiceinfo.Recordset(7) = txtCompanyName.Text
dataVechileServiceinfo.Recordset(8) = txtModelName.Text
dataVechileServiceinfo.Recordset(9) = txtServiceAmount.Text
dataVechileServiceinfo.Recordset(10) = txtServiceBy.Text
dataVechileServiceinfo.Recordset(11) = txtDesription.Text
dataVechileServiceinfo.Recordset.Update
MsgBox "Saved"
txtSId.Text = ""
txtServiceDate.Text = ""
txtCustomerName.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtRegNo.Text = ""
txtVehicleType.Text = ""
txtCompanyName.Text = ""
txtModelName.Text = ""
txtServiceAmount.Text = ""
txtServiceBy.Text = ""
txtDesription.Text = ""
txtSearchbox.Text = ""
58
txtSId.SetFocus
End Sub
dataVechileServiceinfo.RecordSource = qry
dataVechileServiceinfo.Refresh
txtSearchbox.Text = ""
Else
MsgBox "Not Found"
End If
End Sub
End Sub
Employee info
59
Private Sub cmdDelete_Click()
dataEmployeeInfo.RecordSource = qry
dataEmployeeInfo.Refresh
txtEid.Text = ""
txtEmpName.Text = ""
txtGender.Text = ""
txtPhNo.Text = ""
txtAddress.Text = ""
txtSalary.Text = ""
txtFName.Text = ""
txtDOB.Text = ""
txtDOJ.Text = ""
txtEMailId.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
Else
MsgBox "Not Found"
End If
End If
End Sub
60
txtFName.Text = ""
txtDOB.Text = ""
txtDOJ.Text = ""
txtEMailId.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
End Sub
dataEmployeeInfo.RecordSource = qry
dataEmployeeInfo.Refresh
dataEmployeeInfo.Recordset(0) = txtEid.Text
dataEmployeeInfo.Recordset(1) = txtEmpName.Text
dataEmployeeInfo.Recordset(2) = txtGender.Text
dataEmployeeInfo.Recordset(3) = txtPhNo.Text
dataEmployeeInfo.Recordset(4) = txtAddress.Text
dataEmployeeInfo.Recordset(5) = txtSalary.Text
dataEmployeeInfo.Recordset(6) = txtFName.Text
dataEmployeeInfo.Recordset(7) = txtDOB.Text
dataEmployeeInfo.Recordset(8) = txtDOJ.Text
dataEmployeeInfo.Recordset(9) = txtEMailId.Text
dataEmployeeInfo.Recordset.Update
MsgBox "Saved"
txtEid.Text = ""
txtEmpName.Text = ""
txtGender.Text = ""
61
txtPhNo.Text = ""
txtAddress.Text = ""
txtSalary.Text = ""
txtFName.Text = ""
txtDOB.Text = ""
txtDOJ.Text = ""
txtEMailId.Text = ""
txtSearchbox.Text = ""
txtEid.SetFocus
End Sub
dataEmployeeInfo.RecordSource = qry
dataEmployeeInfo.Refresh
txtSearchbox.Text = ""
Else
MsgBox "Not Found"
End If
End Sub
62
rptEmployeeReport.Show
End Sub
End Sub
63