Reporting API Functions / Functions to change reporting options |
Returns the path to a resource searching first FGLRESOURCEPATH, then FGLDBPATH and finally DBPATH. (deprecated!)
fgl_report_findResourcePath( reportName STRING )
IF fgl_report_loadCurrentSettings(fgl_report_findResourcePath("OrderReport.4rp")) THEN ...
Assuming FGLRESOURCEPATH is set to /home/fjs/reports/lists:/home/fjs/correspondence and the report OrderReport.4rp is located at /home/fjs/correspondence/OrderReport.4rp, that report will be loaded.
For a generic example of Genero code using a reporting function, see Using report output functions. This example may not use the specific function discussed in this topic, however it provides details on where you would place this (and other) report output functions.