Mandatory functions

These functions are required in the Report Driver section of the Genero BDL file associated with a report.

See Usage: load and commit.

Table 1. Mandatory functions
Function Description
fgl_report_loadCurrentSettings (
   reportFileName STRING) 
  RETURNING ok INTEGER
Loads the report definition and configures the in-memory settings accordingly.
Note: The fgl_report_loadAndCommit function may be used in place of the other mandatory functions if no changes to the default settings are required.
fgl_report_commitCurrentSettings() 
  RETURNING driver om.SaxDocumentHandler
Configures the Genero Report Engine based on the initial report definition and any subsequent function calls.
Note: The fgl_report_loadAndCommit function may be used in place of the other mandatory functions if no changes to the default settings are required.
fgl_report_loadAndCommit (
   reportFileName STRING)
  RETURNING handler om.SaxDocumentHandler
Function that loads a 4rp file and configures the report engine to execute the report.