Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / Иерархический отчет в Crytal Reports / 2 сообщений из 2, страница 1 из 1
20.02.2008, 16:23
    #35145029
guestttttttt
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Иерархический отчет в Crytal Reports
Всем здравствуйте!!!!
Вопрос знатокам CR-10. Есть набор данных со структурой:

Id Id_parent Item_name.

Возможно ли штатными методам вывести в отчет дерево иерархии? В хелпе ничего подобного не нашел. Если это возможно, подскажите, как это сделать.

Заранее благодарен всем ответившим.
...
Рейтинг: 0 / 0
27.02.2008, 22:18
    #35159325
Fdum
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
Иерархический отчет в Crytal Reports
Вот не уверен есть ли в 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.

Кароче справку поковыряй.
...
Рейтинг: 0 / 0
Форумы / Отчетные системы [игнор отключен] [закрыт для гостей] / Иерархический отчет в Crytal Reports / 2 сообщений из 2, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]