fgl_report_setOutputFileName

Configure the file location for the device output. This function works for all output formats except Image.

Syntax

fgl_report_setOutputFileName(
   fileName STRING )
  1. fileName - Enter a file name, with or without a file suffix, or a complete path with a file name.

    If no suffix is specified, a device-specific suffix is appended, with the extension corresponding to the output type chosen by the fgl_report_selectDevice() API call.

    If you do not specify a path, the file is written to the current directory.

Usage

Function to configure the file location for the device output. This function works for all output formats except for the Image output format. For the Image output format, you must call the function fgl_report_configureImageDevice.

You can use this function when file preview has been disabled, by a call to fgl_report_selectPreview(FALSE).

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.