fgl_report_setCallbackLocalization

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

Syntax

fgl_report_setCallbackLocalization(
   share BOOLEAN )
  1. share - when set, the report engine will call the GRE library function report_getFieldCaption for each field, to retrieve the field caption.

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.

See Localized strings.

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.