The Reporting API consists of these files:
- The libgre.42m file contains BDL functions
that handle Genero Report Writer output and other features. The mandatory
functions must be called in your report application. Other
functions allow you to change the output format and output
and printer features.
- These files contain some functions that are used internally by
Genero Report Writer:
- CaptionCustom.42m
- CompatCustom.42m
- EncodingCustom.42m
- isotools.42m
The compiled versions of these files are provided in <GRE-install-dir>\lib.
Important: These compiled files are linked in the libgre.42x library,
which must be listed in the external dependencies property of
any Genero Studio Project Manager application node that uses Genero
Report Writer. This file should be listed by name only, without a
path. Click the ... button in the Value column of the Properties View
to open the Edit List window for that property.
Error Handling
In case of an error, functions
from this library will write error messages to stdout using the DISPLAY
statement. Additionally the error condition is indicated by a return
value.
Verbosity level
Depending on the value of
the environment variable "DEBUGLEVEL" Some of the functions issue
warnings and other useful debugging information. Currently any value
greater than zero will cause debug output. Debug information is also
output using the DISPLAY
statement.