fgl_report_setCallbackLocalization

Configure the report to use a function to retrieve localized field titles.

Syntax

fgl_report_setCallbackLocalization(
   share BOOLEAN )
  1. share - when TRUE, the report engine calls the GRE library function report_getFieldCaption for each field, to retrieve the field caption.
    Note: To specify a BOOLEAN value, enter TRUE or FALSE without quotation marks.

Usage

By default the field titles in a report are retrieved from Genero localization files compiled by the command fglmkstr. This function configures the report engine to call the function report_getFieldCaption(matchName,fieldName) instead, and doesn't use the localization file.

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.