
- •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 11
Data base «Transport company»
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:
List of transport services
TS_ID |
Service_Name |
Transport cost of 1 km |
|
|
Validation Rule |
Vehicles
Vehicle_ID |
Vehicle_Name |
License_Plate |
Lifting_Capacity |
|
|
|
Validation Rule |
Drivers
Driver_ID |
Driver_Name |
Vehicle_ID |
Salary |
|
|
Lookup column with a definition of row source |
Validation Rule |
Provision of transportation services
ID |
Date |
Driver_ID |
TS_ID |
Fuel_Consumption |
Mileage |
|
Validation Rule, Input Mask |
Lookup column with a definition of row source |
Lookup column with a definition of row source |
Validation Rule |
Validation Rule |
Set up relations between tables and fill it with data.
Create the queries:
A select query with the next information: Date, Driver_Name, Vehicle_Name, License_Plate, Service_Name, Mileage, Cost.
A select query with information (Date, Driver_Name, Vehicle_Name, License_Plate, Service_Name, Mileage, Cost) about provided services in the current month.
An aggregate query that totals up the Mileage by each Vehicle.
A parameter query that represents information (Date, Driver_Name, Vehicle_Name, License_Plate, Service_Name, Mileage, Cost) by certain Driver.
An action query that in the table “List of transport services” will increase Transport cost of one service by 10 hrn.
On the basis of the second query create a new “Make Table” one.
A crosstab query of total cost by Services and Drivers.
Create the forms:
1. Create «Catalog of Vehicles» form by using wizard on the basis of table «Vehicles». With the help of it add 5 records to the table.
2. Create “List of Drivers” form in design view on the basis of table «Drivers». With the help of it add 5 new records to the table.
3. A main form.
Create the reports:
1. Create «Cost of transportation» report by using wizard. Make a data grouping by Vehicles and Dates. The group Footer and the report Footer must include the total cost of the transportation.
2. Create report «Transportation in the current month» in design view. In the report group data by Driver_Names, in the middle by Vehicles. The group Footer and the report Footer must contain the minimum and total mileage.
Variant 12
Data base «Trading company»
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:
Product groups
Group_ID |
Product_Group_Name |
Manager_Name |
|
|
|
Products
Product_ID |
Product_Name |
Group_ID |
Retail_Price |
|
|
Lookup column with a definition of row source |
Validation Rule |
Distributors
Distributor_ID |
Distributor_Name |
Address |
Category |
|
|
|
|
Products purchasing
ID |
Date |
Shipment |
Product_ID |
Distributor_ID |
Purchase_Price |
Quantity_of_ distribution |
|
Validation Rule, Input Mask |
|
Lookup column with a definition of row source |
Lookup column with a definition of row source |
Validation Rule |
Validation Rule |
Set up relations between tables and fill it with data.
Create the queries:
A select query with the next information: Product_Group_Name, Product_Name, Cost_of_realization, Cost of purchasing, Profit, Manager_Name, Date.
A select query with information (Product_Group_Name, Product_Name, Cost_of_realization, Cost of purchasing, Profit, Manager_Name, Date) about products that was purchased during the last week.
An aggregate query that totals up the cost of realization by each manager.
A parameter query that represents information (Product_Group_Name, Product_Name, Profit, Manager_Name, Date) by certain product category.
An action query that in the table “Products” will increase products Retail_Price of the one product group by 10%.
On the basis of the first query create a new “Make Table” one.
A crosstab query of average Profit by Product_Name and Date.
Create the forms:
1. Create «List of Products» form by using wizard on the basis of table «Products». With the help of it add 5 records to the table.
2. Create “List of Distributors” form in design view on the basis of table «Distributors». With the help of it add 5 new records to the table.
3. A main form.
Create the reports:
1. Create «Purchasing of products» report by using wizard. Make a data grouping by Product_Groups and Dates. The group Footer and the report Footer must include the total profit.
2. Create report «Products purchasing over the last week» in design view. In the report group data by Product_Groups, in the middle by Dates. The group Footer and the report Footer must contain the minimum and maximum Purchase_Price.