Reporting API Functions / Mandatory functions |
The functions fgl_report_loadCurrentSettings and fgl_report_commitCurrentSettings work together to configure the report.
IF fgl_report_loadCurrentSettings(reportfilename) THEN -- function returns TRUE -- if settings loaded OK -- optional functions to change settings would go here LET rephandler = fgl_report_commitCurrentSettings() -- function returns the -- SAXDocumentHandler END IF
These functions must appear in the Report Driver section of the BDL file associated with the report. If no settings are to be changed, the function fgl_report_loadAndCommit may be substituted for these two functions.
See Writing the Genero BDL report program for complete examples.