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

Variant 16

Data base «Service Station»

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

Client_ID

Client

Address

E-mail

Cell_Phone

Type

Input Mask

Value: ordinary, VIP

Services

Service_ID

Kind of service

Price

Validation Rule

Provision of services

ID

Date

Client_ID

Service_ID

Quantity

Validation Rule, Input Mask

Lookup column with a definition of row source

Lookup column with a definition of row source

Validation Rule

Set up relations between tables and fill it with data.

Create the queries:

  1. A select query with the next information: Client, Kind of service, Price, Quantity, Payment amount, Date.

  2. A select query with information (Client, Kind of service, Price, Quantity, Payment amount, Date) about orders in the current week.

  3. An aggregate query that totals up the cost by every Kind of service.

  4. A parameter query that represents information (Date, Staff_Name, Food_Item, Number of table, Quantity, Cost) by certain Kind of service.

  5. An action query that in the table “Services” will increase Price by 12%.

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

  7. A crosstab query of total cost by Kind of service and Clients.

Create the forms:

1. Create «List of clients» form by using wizard on the basis of table «Clients». With the help of it add 5 records to the table.

2. Create “List of services” form in design view on the basis of table «Services». With the help of it add 5 new records to the table.

3. A main form.

Create the reports:

1. Create «Provision of services» report by using wizard. Make a data grouping by Dates and Kinds of service. The group Footer and the report Footer must include the total order cost.

2. Create report «Orders of the current month» in design view. In the report group data by Kinds of service, in the middle by Clients. The group Footer and the report Footer must contain the average and total Cost.

Literature

  1. Михеева В. Microsoft Access 2003// В. Михеева, И. Харитонова. – СПб: БХВ-Петербург, 2004. – 1072 с.

  2. Гринченко Н.Н. Проектирование баз данных. СУБД Microsoft Access // Н.Н. Гринченко, Е. В. Гусев, Н. П. Макаров. – «Горячая Линия – Телеком», 2004. – 240 с.

  3. Войтюшенко Н. М. Інформатика і комп’ютерна техніка. - Видавництво: Центр учбової літератури, 2009. – 564 с.

  4. Хабрейкен Дж. Microsoft Office 2003 : Word, Excel, Access, PowerPoint, Publisher, Outlook. Все в одном. – Изд-во «Вильямс», 2006. – 864 с.

  5. Office 2003 for Dummies. - Издательство: Вильямс, серия: Для "чайников", 2007. - 336 с.

  6. Хабрейкен Дж. Microsoft Office 2003: Word, Excel, Access, PowerPoint, Publisher, Outlook. Все в одном. – Изд-во «Вильямс», 2006. – 864 с.

  7. Меженный О.А. Microsoft Office 2003. Самоучитель. – Изд-во «Диалектика», 2005. – 480 с.

  8. Иллюстрированный самоучитель по Microsoft Office 2003. Режим доступа: <http://www.office-2003.net/>.

  9. eHow. Режим доступа: <www.ehow.com>