Some sample reports have been created to help you get started with the Report Composer function. By default, these are placed in the acugt/sample/reports subdirectory of your ACUCOBOL-GT product installation directory. The samples include both character and graphical reports, and each report builds on the functions learned in the previous report. Together, the reports demonstrate the range of available report controls, from a simple report containing only report labels and entry fields to complex reports with tables and grids. The sample reports all use the same Vision indexed data files: sales.dat and sales.vix. The data resides in the project's Data subdirectory.
The Reports sample project contains the following graphical report programs:
Program | Description |
---|---|
Report1a | This is a simple report that contains only entry fields and labels. |
Report1b | This report is designed in landscape orientation and is ordered into columns. It includes labels, entry fields, and a date time control. |
Report1c | This report includes group headers and a report occurs control. |
Report1d | This report includes a report header and report footer, as well as report check box and radio button controls. |
Report1e | This report demonstrates some uses for group footers. |
Report1f | This report includes a report image control and a report table. |
Report1g | This is an example of an N-Top report. |
Report1h | This report demonstrates basic use of the grid control. |
Report1i | This report provides a more advanced example of the report grid control, showing how to use the generated TABBODY code to load data into the control. |
The Reports sample project also includes the following character report programs:
Program | Description |
---|---|
Report2a | This is a simple report that contains only entry fields and labels. |
Report2b | This report is designed in landscape orientation and is ordered into columns. It includes labels, entry fields, and a date time control. |
Report2c | This report includes group headers and a report occurs control. |
Report2d | This report includes both page and report headers and footers, as well as nested group headers. It is presented in a landscape orientation. |
Report2e | Building from Report2d, this report also includes nested group footers. |