Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
Иерархический отчет в Crytal Reports
|
|||
|---|---|---|---|
|
#18+
Всем здравствуйте!!!! Вопрос знатокам CR-10. Есть набор данных со структурой: Id Id_parent Item_name. Возможно ли штатными методам вывести в отчет дерево иерархии? В хелпе ничего подобного не нашел. Если это возможно, подскажите, как это сделать. Заранее благодарен всем ответившим. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 20.02.2008, 16:23 |
|
||
|
Иерархический отчет в Crytal Reports
|
|||
|---|---|---|---|
|
#18+
Вот не уверен есть ли в 10-м, но в 11-м точно есть. Далее из Crystal Reports 11 User's Guide (с) To group data hierarchically 1. Create or open a report that contains the data you want to group and sort hierarchically. 2. On the Insert menu, click Group. 3. In the Insert Group dialog box, select the field that you want to use as the basis of your hierarchy (the child field). For example, if you want to see the hierarchical structure of a company’s employees, select the employee field. 4. Select in ascending order. By default, the group header of the report displays the value of the field you are grouping on. 5. If you want to show a different value in the group header, click the Options tab and select the Customize Group Name Field check box. For example, if you grouped by the employee field, at each change of a group you will see the corresponding employee name. If you want to display a different value (employee ID instead of employee name), customize the group name field by choosing an alternate data field, or by creating a formula. 6. Click OK. The group you created is added to the report. 7. On the Report menu, click Hierarchical Grouping Options. 8. In the Available Groups list of the Hierarchical Options dialog box, select the group you want to organize hierarchically. 9. Select the Sort Data Hierarchically check box. 10. In the Parent ID Field list, select the field by which you want the Instance ID Field organized. For example, for an employee hierarchical report, you might select the data field listing the supervisor to whom the employee reports. Note: The Instance ID Field and Parent ID Field must be of the same data type. For example, if the Instance ID Field holds string data, then the Parent ID Field must also hold string data. In the Group Indent field, enter the amount you want to indent for each subgroup. Note: The value that you enter in the Group Indent field affects all other objects that are in the same area as your hierarchical group. For example, if your report contains a salary field on the same line as the name of the employee, the salary field is also indented when you use the employee field to create a hierarchical group. To indent only the hierarchy records and not the other objects, leave this value as 0 (zero) and use the conditional-X-position feature. See “To indent a hierarchy without affecting other fields” on page 188 for more information. 12. Click OK. The report data is now grouped hierarchically. Кароче справку поковыряй. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 27.02.2008, 22:18 |
|
||
|
|

start [/forum/topic.php?fid=31&msg=35159325&tid=1537243]: |
0ms |
get settings: |
10ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
42ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 16ms |
| total: | 142ms |

| 0 / 0 |
