Sei sulla pagina 1di 11

Transport Company Data Base

USER MANUAL

Transport Company Data Base is a program written in Microsoft Access, which helps
transport companies with their day to day tasks like:
• Adding/removing orders
• Dealing with many clients
• Having many cars and drivers
• Storing information about clients, cars, drivers
• Changing that data when necessary
• Searching for clients, drivers with many search criteria
• Creating reports

There two types of the users that have an access to the database: users and administrators.
Each of them has different rights. Users can only add new orders and browse through the ones
ordered by themselves, while administrators can modify data in every table.

Adam Siemion
Authentication

Purpose:
Enables authentication of the user of the database

Detail:
Enter your login name and password into textboxes. Click button Login. If entered login name
and password are correct the authentication will succeed and you will be transferred to the main
panel. If entered login name and password aren’t correct message box with warning “Wrong
password or username” will appear.

Administrator main panel


Purpose:
Enables quick navigation through available panels.

Detail:
If you want to search for some information click the button Search. If you want to browse
through deals click the button Browse. If you want to edit some data click the button Edit. If you
want to set some options click the button Options. If you want to view some reports click the button
Reports. If you want to get some help click the button Help. If you want to quit the program click
the button Quit.
You can always switch between panels by clicking buttons on the top of the screen.

Search panel
Purpose:
Enables search for client or driver with given criteria.

Detail:
Enter name of the client you are looking for in the textbox Name. Press enter. All clients with given name will
be shown in listbox below. If you want to add more search criteria, enter the surname of the client you are looking for
in the textbox Surname. Press enter. All clients with given name and surname will be shown in listbox. If you want
to view all clients from given town, clear the contents of Name and Surname textboxes and choose some town from
the list Town. Again, if you want to view all clients from the town you have previously chosen and with given name,
simply enter that name in the textbox Name and press enter.

Every time you change data in textbox or list, the contents of the listbox are refreshed according to new search
criteria. Criteria is built in such a manner: if you leave some textbox or list blank it means that you don’t want to
search the data using that criteria otherwise the data is search for records with fields equal to the ones you specified.

Browse panel
Purpose:
Enables browse through all deals.

Detail:
Buttons at the top are used to navigate through records. Each of the subforms contains information about
chosen deal. Information about: client, who made an order, track of that deal, cars and drivers involved in that deal.
Administrator can switch off view of each of those subforms in Options panel.

Edit panel
Purpose:
Enables changing data about clients, drivers, cars and cities.

Detail:
Buttons at the bottom enable navigation between records in client, driver, car, car_types and cities tables.
Button Add is used to add new records, Undo to cancel all changes in currently editing table and Delete to delete
currently viewed record.

Options panel
Purpose:
Enables to switch on or off views of particular subforms in Edit panel.

Detail:
You can switch on or off view of particular subform in Edit panel. Button Default is used to set those options
to default values.

Reports panel
Purpose:
Enables viewing reports

Detail:
Button Deals is used to view a report about all deals. It contains such information: id of the client, who made
an order, name and surname of that client, source and destination of the deal, total price and all drivers and cars
involved in that deal.
Button Clients is used to view a report about all clients. It contains such information: client id, name,
surname, address, telephone, code, town, country.
Button Drivers is used to view a report about all drivers. It contains such information: driver id, name,
surname, salary per hour, number of working hours and total salary computed by multiplying working hours by salary
per hour.

User main panel


Purpose:
Enables quick navigation through available panels.

Detail:
If you want to add new deal click the button Add deal. If you want to view all your deals click the button
View deals. If you want to get some help click the button Help. If you want to see report your deals click Report.
If you want to quit the program click the button Quit.
You can always switch between panels by clicking buttons on the top of the screen.

Add deal panel


Purpose:
Enables adding new deals

Detail:
First, enter the date of the request. Then, choose source and destination cities. The distance between those
cities will be computed automatically. Then, choose car and drivers (one or more) and click button Add. New lines
will be added to the listbox at the top. Names of the column heads are as follows: price computed by multiplying
driver’s salary by number of hours, second column, required to get from the source to the destination city by chosen
car, name and surname of the driver, car manufacturer and model. Textbox Total price contains the sum of all
ordered cars with drivers, it is computed automatically. Any time when you change your mind about some driver or
car you can press button Clear, which will clear the contents of the listbox. When you finished, press Save,Exit to
add that deal to the database or Undo skip adding that deal to the database. You return to Home.

View deals panel


Purpose:
Enables to view deals of currently logged user.

Detail:
Listbox contains information about all deals of currently logged user. Information like: deal id, source and
destination of the deal, date and total price of particular deal.