Professional Documents
Culture Documents
1.0 INTRODUCTION:
Our BCA Project is based on the Carlux Ltee Rental Company. It is found
in Curepipe. This company rents many types of cars. When the company
rents a car, the car is identified by its registration number, rents by a
customer. Customer (Last name, First name, Birth date, Telephone num and
Address) is identified by a Client Id, the transaction being processed by the
employee. Employee (Last name, First name, Address, Position, Telephone
num, Mobile num and Birth date) is identified by its Employee Id.
Whenever a customer rents a car, date rented, amount, deposit and the
number of days are kept. In returning the car the date returned, date rented
and the person who processed the transaction are recorded.
1
1.1 OVERVIEW OF THE FUNCTIONALITIES
This System will facilitate the functioning of a "typical" rental car store.
Each type of car should have a different rental fee per day. Rental fee
depends on number of days, brand and how fast the car runs. The system
should have the following functionalities:
Pick Up: The system process a Car Pick Up. Customer walks in and supplies
either the confirmation number or name. The system should pull up all the
reservation information about this customer. The customer is then asked to
supply a drivers’ license.
Return: The system process a return. The system should record the date,
time taken and provide information about clients and which employee attend
which customer.
2
better co-ordination of job. The new computerized database will create a
better system where information can be added, deleted, modified and
updated easily.
1.2 ANALYSIS:
• The user finds out information about a client, hired car and
return date.
• The system gives information about the employees and the
client they attend respectively.
• The user inputs a particular employee name and finds out the
clients the latter has been attending.
• System will record the input data and display the information.
3
1.2.2 USE CASE DIAGRAM
Search details
In car table
User
4
1.2.3 FUNCTIONAL REQUIREMENTS:
1. The system should act as an interface for the user to input process and
retrieve data.
3. The system should allow the user to create query on a specific client.
4. The system should allow the user to check the records of clients.
5. The system should allow the user to add, retrieve, and modify records.
5
1.3 Entity Relationship Diagram
make
model colour
Reg
number
Category
rents
CarLux Car
company
empl hir
oy ed
Licens
Employe attend e
e Id employee client
numbe
Client r
Gender
Id
Surname Phone
Phone numb
numbe Nam er
r e
Addres
s Mobile
numbe Occupatio
DOB Addres
r n
Gend s
Other er
name
DOB
6
1.3.1 CARDINALITY MAPPING
1.4 RELATIONSHIP:
The database contains four entities namely: Employee, Client, car and rental
One of the main characteristics of relational databases is the fact that tables
are related to one another. Access has a means to make relationships
explicit using the relationship screen. The relationship can be shown below:
7
Access uses this information when designing reports, forms and queries
that require more than one table to be displayed.
8
1.5 FIELD DOMAINS:
Car Table
CLIENT TABLE
9
EMPLOYEE TABLE
RENTAL TABLE
10
1.6 FORMS DESIGN:
Forms are the main interfaces of the system. Forms provide a user-oriented
interface to the data in the database application. The user will directly
interact with a screen for data entry or extraction of data. The main forms
are:
1- Car form
2- Rental form
3- Employee form
4- Client form
The MAIN MENU will display all these forms and they are shown below in
the main menu screen.
11
MAIN MENU
12
Employee FORMS
The form can be modified and even background pictures can be inserted. In
addition, the add, delete, save, undo has been added in the form to facilitate
the user’s tasks. The close form button also can be added. These functions
buttons can be inserted on the form by using the command button in the tool
box.
13
Client FORM
The client form will display the client Id and the client name. New records
can be added, existing records can be deleted and records can be saved as
well. For example, a new client with a new Id is introduced. Thus, these can
be easily added onto the form.
14
Rental FORM
It has been included as a sub form into the client form for easy recording of
transactions.
15
The following form below has been designed in order to be able to delete a
transaction that has been taken place and recorded.
16
Car FORM
New car entries are recorded in the car form and saved into the database.
The appropriate details about the car are recorded for the use of the
company’s transactions.
17
1.7 REPORTS DESIGN
18
Car Details Report
19
20
Client Details REPORT
21
List of clients with Cars
22
List of employees
23
1.8 QUERIES
24
Queries are needed to display a specific data from one or more tables. They
help to create reports based on data to be used by the user. Queries will
allow the user to join data from one or more tables, order the data in
different ways, calculate new fields and specify criteria to filter out certain
records.
25
26
Refering to our project the following queries are shown below.
27
Design view
SQLVIEW
28
To query the database about the car details, the following Query can be
used:
SELECT Car.RegNum, Car.Model, Car.Make, Car.Colour, Car.Category
FROM Car;
29
QUERY FOR CLIENT
30
DESIGN VIEW
31
SQL VIEW
The following Queries can be used to find out details about client:
SELECT Client.ClientId, Client.Surname,Client.OtherName, Client.Gender, Client.DOB,
Client.Address, Client.Telephone, Client.Occupation, Client.LicenseNo
FROM Client;
32
QUERY FOR CLIENT WITH CAR
33
DESIGN VIEW
SQL VIEW
34
35
The following data will be genetrated.
36
QUERIES FOR EMPLOYEES
DESIGN VIEW
37
SQL VIEW
38
The result set returned is displayed below:
39
1.9 CONCLUSION:
40
The introduction of the new database system in the Carlux company has
been helpful in eliminating inconveniences that was present in the previous
manual system. The new system has been designed to provide a fast user-
friendly and a reliable system which is easy to use. The objectives of the
system have been met in relation to quick data entry of details about the
clients, employees and cars, avoid duplication of data and produce forms and
reports for analysis purposes.
41