Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Ilenko_YU.I._Stvorennya_baz_danih_u_seredov._MS...doc
Скачиваний:
0
Добавлен:
01.05.2025
Размер:
3.6 Mб
Скачать

5.3. Self-control test

No

Question

Check off the right box

1.

What actions can be done with the help of reports?

  1. viewing data from tables

  1. adding records to a table

  1. editing table data

  1. printing table data

2.

For grouping data in report you should do…

  1. View – Sorting and Grouping

  1. Select on the toolbar

  1. Select fields and in the context menu choose Grouping

3.

On the basis of what objects can be Access report formed?

  1. Queries

  1. Forms

  1. Tables

  1. Macroses

  1. Modules

4.

What will happen if you press button on the Print Preview mode?

  1. Go to the first record

  1. Go to the first page

  1. Go to the last page

  1. Go to the last page

5.

In what modes you can be reports created

  1. Design view

  1. Wizard

  1. By entering data

  1. Constructor

6.

What sections are not a part of report structure?

  1. The Form Header

  1. The work area

  1. The Detail section

  1. The Footer section

  1. The note

Individual tasks

Variant 1

Data base «Ticket agency»

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:

Time-table

Flight number

Type of a plane

Departure point

Arrival point

Departure time

Arrival time

Number of berths

Ticket price

Validation Rule

Validation Rule

Validation Rule

Validation Rule

Information about passengers

Passport number

Name

Address

Phone

Privileges

Input Mask

Value: Yes/No

Tickets sale

ID

Flight number

Passport number

Number of tickets

Date

Lookup column with a definition of row source

Lookup column with a definition of row source

Validation Rule

Validation Rule, Input Mask

Set up relations between tables and fill it with data.

Create the queries:

  1. A select query with the next information: type of a plane, departure point, arrival point, date, passenger name, tickets cost.

  2. A select query with information about clients (type of a plane, departure point, arrival point, passenger name, number of tickets and tickets cost) that bought tickets to Moscow in the current month.

  3. An aggregate query that totals up the number of tickets that was sold on the flights in the current month.

  4. A parameter query that represent information about flights (passenger name, passport number, date, type of a plane, number of tickets and tickets cost) by certain points of departure and arrival.

  5. An action query that will delete all information about clients that bought tickets on the flights on __.__.20__.

  6. On the basis of the first query create a new “Make Table” one.

  7. A crosstab query of average tickets price by flights and dates.

Create the forms:

1. Create «Catalog of flights» form by using wizard on the basis of table «Time-table». With the help of it add 5 records to the table.

2. Create “Clients of agency” form in design view on the basis of table «Information about passengers». With the help of it add 5 new records to the table.

3. A main form.

Create the reports:

1. Create «Tickets sale» report by using wizard. Make a data grouping by Flight number. The Group Footer and the Report Footer must contain the total number of soled tickets.

2. Create report «Tickets realization in the current month» in design view. In the report group data by flights, in the middle by dates. The Group Footer and the Report Footer must contain the minimum and average cost of soled tickets.