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

In the previous figure, we noticed the following:

1. Data are arranged according to the field (Employee – Name) in an ascending way.

2. The employee and the projects are displayed in each group.

Data values can be collected in the report, to express totals. You can do this by

inserting unbound textboxes to the report and inserting the suitable formulas. We

should consider the following:

On inserting the textbox at the footer of the custom group section with a certain

formulae, totalizing for this group can take place.

On the other hand, on inserting the textbox at footer of the report section with the

same formulae, we can calculate all groups.

We notice the importance of (the Textbox) place (with a formula) inside the

report sections.

Exercises:

In this exercise, we will try to calculate the working hours for each employee and

count the working hours for all projects.

Steps:

We come back to "Report Design" in the previous exercise and we will try to put the

(text box) once at (page footer ) of the employee section and another at the (report

footer) as in the following figure:

Modify the text box title in the two sections and write (total).

Select the first textbox and click "properties" so, the following figure appears:

From data and in front of ( Control Source) click the button to get (Expression

Builder)

With the help of (Expression Builder). Try to edit the expression as in the

following figure:

Click OK.

Similarly, select the second box and edit the same formula.

- Click OK.

- Display the report in (Print Preview) so the following figure appears:

Inserting common expressions:

Many common expressions can be inserted in the report sections, out of these are

(The total page number and date)

Exercise:

To insert Date and Time in report sections do the following steps:

- Display the previous report in "Design View"

* From (View) select (Page Header and Footer) and (Report Header and Footer)

1- from the menu ( insert) , select (Date and Time) :

2- Select the suitable format and click Ok. As in the following figure:

3-Similarly , from menu [ insert ] select page number as in the following figure

:

4-Select the suitable format and click ok.

The report appears as follows :

Exercise:

With the help of your teacher, try to insert (Time and Date) using one of the

unbound elements.

Questions:

  1. What are the types of reports provided by Ms Access? How is each type used?

2. What is the difference between data retrieved by reports and the stored elements in the reports design view?

3. What are the methods of creating reports and what is the difference between

then?

4. Mention the importance of dealing with reports sections?

5. Shifting between the ways of (Report View) has its importance at the stage of

(Design), illustrate for your answer?

6. Can we navigate across folders on (Report Preview)?

7. What is the importance of dealing with the calculated and counted values in

reports?

8. What are the common expressions and how can we insert them in reports?

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]