Generic reports

A generic report is a report that you can expand at runtime, bypassing the need for a report design document. It can be a standard (flat list) format, or a custom report.

Create a generic report with a standard format

To create a generic report with a standard flat list format, set the autoformat type to FLAT LIST:

IF fgl_report_loadCurrentSettings(NULL) THEN
    CALL fgl_report_setAutoformatType(“FLAT LIST”)

This creates a simple list design, similar to the output from the List Report template available from the Genero Studio main menu option File > New > Reports > Report Designs.

Create a custom generic report

To create a generic report that you can customize, do one of the following: