fgl_report_selectPreview
The fgl_report_selectPreview function determines whether the report is shown in the previewer or written to a file on disk.
Syntax
fgl_report_selectPreview(
preview BOOLEAN )
- preview - When set to TRUE, the report is shown in the previewer. When set to
FALSE, the file is generated on disk. The default is TRUE.Note: To specify a BOOLEAN value, enter TRUE or FALSE without quotation marks.
Usage
Function to select preview mode.
This function sets the output to be shown in the previewer. Suitable for all output formats
except "Image". The appropriate software needs to be installed on the client:
- For PDF: Acrobat™ Reader (or any other PDF reader)
- For SVG: the Genero Report Viewer is a part of the Genero Desktop Client
- For RTF: Microsoft™ Word
- For XLS and XLSX: Microsoft Excel
- For OORTF: Open Office (or any free Office), Open Office Writer is sufficient
- For HTML and Browser: Any browser
For an 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.