Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Проблема с итогами по отчетам
|
|||
|---|---|---|---|
|
#18+
Каким образом можно сделать в отчете итог не по группам, а по странице. Необходим отчет, где на каждой странице сумма по столбцам этой страницы... Как только не пробовал, ну нихрена не получается Pls помогите !!! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.11.2002, 13:52 |
|
||
|
Проблема с итогами по отчетам
|
|||
|---|---|---|---|
|
#18+
You can use the RunningSum property to calculate record-by-record or group-by-group totals in a report. Such a device is not available if you want to show a total on each page. To sum an item per page, follow these steps: Open the report in Design view. On the View menu, click Code. Create a module and type the following lines in the Declarations section: Option Compare Database Option Explicit Public PageSum as Double Enter the following code in the event procedure for the Print property of the detail section where <report name> is the name of your report, and <field name> is the name of the field you want to sum: Private Sub Detail_Print(Cancel As Integer, PrintCount As Integer) PageSum = PageSum + Reports![<report name>]![<field name>] End Sub Enter the following code in the event procedure for the Format property of the page header: Private Sub PageHeader_Format(Cancel As Integer, FormatCount As Integer) ' reset the counter for each new page PageSum = 0 End Sub Insert a text box control with the following properties in the page footer: Name: txtPageTotal ControlSource: =[PageSum] or Private Sub PageFooterSection_Print(Cancel As Integer, PrintCount As Integer) txtPageTotal = PageSum End Sub Run the report and note that the text box displays the sum of the relevant field for each page. If you want to simulate a running sum for the report, delete the reset line from the page header Format event. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 28.11.2002, 16:24 |
|
||
|
|

start [/forum/topic.php?fid=45&fpage=1836&tid=1682836]: |
0ms |
get settings: |
7ms |
get forum list: |
12ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
28ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
39ms |
get tp. blocked users: |
2ms |
| others: | 213ms |
| total: | 317ms |

| 0 / 0 |
