- •Context
- •Introduction
- •1 Creating and working with a database in ms access 2003
- •1.1 Introduction to Databases
- •1.2 Planning a Database
- •1.3 Starting Access and Opening a Database
- •1.4 Self-control test
- •2 Creating a table in ms access 2003
- •2.1 Theoretical material
- •2.2 Example of tables creation for database “Product realization of Holding company “Group nord”
- •2.3. Self-control test
- •3 Creating queries in ms access 2003
- •3.1 Theoretical material
- •3.2 Example of queries creation for database “Product realization of Holding company “Group nord”
- •3.3. Self-control test
- •4 Creating forms in ms access 2003
- •4.1 Theoretical material
- •4.2 Example of forms creation for database “Product realization of Holding company “Group nord”
- •4.3. Self-control test
- •5 Creating reports in ms access 2003
- •5.1 Theoretical material
- •5.2 Example of reports creation for database “Product realization of Holding company “Group nord”
- •5.3. Self-control test
- •Individual tasks
- •Variant 1
- •Information about passengers
- •Variant 2
- •Variant 3
- •Variant 4
- •Variant 5
- •Variant 6
- •Variant 7
- •Variant 8
- •Variant 9
- •Variant 10
- •Variant 11
- •Vehicles
- •Variant 12
- •Variant 13
- •Variant 14
- •Information about printing-house
- •Variant 15
- •Variant 16
- •Literature
Variant 4
Data base «Hotel Management Information System»
According the offered structure of the relational database build the necessary objects of it: tables, queries, forms and reports. Form a general report from the printed database objects and description of its implementation.
Create the tables:
Clients
Tourist ID |
Tourist name |
Address |
Phone |
Sex |
|
|
|
Input Mask |
Value: Male/Female |
Catalog of buildings
Building number |
Building name |
Class |
Quantity of rooms |
Cost per day |
|
|
Value: 5-Star, 4-Star, 3-Star, 2-Star,1-Star |
Validation Rule |
Validation Rule |
List of settling
ID |
Arrival (date) |
Tourist ID |
Building number |
Room |
Daily cleaning |
Laundry |
Entertainment |
Number of days |
|
Validation Rule, Input Mask |
Lookup column with a definition of row source |
Lookup column with a definition of row source |
|
Value: Yes/No |
Value: Yes/No |
Value: Yes/No |
Validation Rule |
Set up relations between tables and fill it with data.
Create the queries:
A select query with the next information: building name, class, tourist name, arrival, number of days, total cost, services.
A select query with information about clients from Donetsk that live in 4 and 5-Stars buildings (building name, tourist name, arrival, number of days, total cost, services).
An aggregate query that totals up the number of clients in the every building.
A parameter query that represents information about certain building (building name, tourist name, arrival, number of days, total cost, services).
An action query that will increase the cost per day in 5-Star building by 7% (Catalog of buildings table).
On the basis of the first query create a new “Make Table” one.
A crosstab query of total number of tourists by buildings and arrival.
Create the forms:
Create «Settling» form by using wizard on the basis of table «List of settling». With the help of it add 5 records to the table.
Create “Buildings” form in design view on the basis of table «Catalog of buildings». With the help of it add 5 new records to the table.
A main form.
Create the reports:
1. Create «Information about tourists» report by using wizard. Make a data grouping by arrival and buildings. The Group Footer and the Report Footer must contain the average duration (number of days).
2. Create report «Clients from Donetsk » in design view. In the report group data by buildings, in the middle by Arrivals. The group Footer and the report Footer must contain the minimum and total cost.
