|
- Overview
- Creating a report on TreeView Table control from the report editor
- Creating a report on TreeView Table control from the report editor
- Characteristics of report on TreeView Table control
- Report test
- Printing a report on TreeView Table control
- Printing a report on TreeView Table control
- WINDEV and WINDEV Mobile example
- WEBDEV example
Report on TreeView Table control
The report on a TreeView Table control is used to directly print the information displayed in a TreeView Table control found: - in a window or page of application. This window or page must be displayed when printing the report.
- in an internal window or an internal page:
- The window displaying the internal window must be displayed.
- The page displaying the internal page must be displayed.
A report on TreeView Table control can print: - all the rows displayed in the TreeView Table control.
- the rows selected by the user (for the multiselection TreeView Table controls where the rows are selected with the Ctrl key). This option is not available in WEBDEV.
- the entire hierarchy.
- the hierarchy visible in the TreeView Table control.
Remark: Only a Treeview Table report can be created on a Treeview Table control. Creating a report on TreeView Table control from the report editor The report editor allows you to create a TreeView Table report based on a TreeView Table control. Each row and each column found in the TreeView Table control are displayed in the TreeView Table report. | | |  | Important | Reports & Queries cannot be used to create reports on a TreeView Table control. However, you have the ability to customize the reports on a TreeView Table control created in the standard report editor (color, fonts, size, ...). |
Creating a report on TreeView Table control from the report editor To create a report on TreeView Table control from the report editor: - Click
among the quick access buttons. - The element creation window appears: click "Report" then "Report".
- The report creation wizard starts.
- Choose a "TreeView Table" report.
- Select "From a TreeView Table control" and go to the next step.
- Specify:
- the TreeView Table control on which the report will be based. Only the TreeView Table controls found in the windows or pages of current project are proposed.
- whether only the selected rows must be printed or whether all the control rows must be printed.
- Select the items (columns of TreeView Table control) to print and their position (associated block).
- Specify whether calculations must be performed on the numeric items.
- Specify the format of sheet on which the report will be printed. The report is printed in A4 format by default.
- Select the skin template to use.
- Type the name and title of the report (name of ".WDE" file corresponding to the report). This name will be used to identify the report in your programs.
You also have the ability to specify whether the report can be modified by the end user in "Reports and Queries". - Validate the report creation.
- The report editor automatically proposes to change the format of the report.
- Specify the mode for reducing the report size:
Versions 19 and laterPrint the report on several pages. In this case, the end user will have to group the pages. See Multi-page print for more details. New in version 19Print the report on several pages. In this case, the end user will have to group the pages. See Multi-page print for more details. Print the report on several pages. In this case, the end user will have to group the pages. See Multi-page print for more details. - Use the landscape mode.
- Reduce the report size. Caution: according to the reduction percentage, the printed report may become unreadable.
- The report currently created is displayed in the report editor.
Characteristics of report on TreeView Table control A report on TreeView Table control corresponds to a report on a Table control with additional characteristics. The report includes a table. For more details, see: In the report description, information specific to this type of report can be configured in the "Data" tab:  Printed rows: Like for the Table control, you have the ability to specify whether only the selected rows or all the control rows must be printed. - Printing the hierarchy: You have the ability to specify whether only the hierarchy displayed in the control must be printed or whether the entire hierarchy must be printed.
Report test The test of a report on a TreeView Table control cannot be run from the report editor because the window or the page containing the TreeView Table control must be opened. To run the test of a report on Treeview Table control, you must: - create (if necessary) a button in the window or in the page of TreeView Table control. This button is used to print the report on the TreeView Table control (iPrintReport).
Case of internal windows or internal pages: If the TreeView Table control is found in an internal window or in an internal page, the button should be created in the internal window/page (and not in the host window/page). - run the test of the window containing the TreeView Table control then run the report test (via the button).
Case of internal windows: the test must be run from the window that is hosting the internal window. - run the test of the page containing the TreeView Table control then run the test of the report (via the button).
Case of internal pages: the test must be run from the page that hosts the internal page.
Printing a report on TreeView Table control Printing a report on TreeView Table control A report on TreeView Table control must be printed from the window (or from the page) displaying the TreeView Table control to print. To do so: - Create a button in the window (or in the page) containing the TreeView Table control.
- Configure the report print destination:
- Specify the name of the report to print with iPrintReport.
Remarks:
This page is also available for…
|
|
|
| |
| Click [Add] to post a comment |
|
| |
|
| |
| |
| |
| |
| |
| |
| | |
| |