fgl_report_runFromXML

Replays the report from an XML file.

Syntax

fgl_report_runFromXML(
   dataFileName STRING) 
  RETURNING ok INTEGER
  1. datafileName - file name of an XML file containing the data.
  2. ok - "true" if no error occurred.

Usage

Function that can run a report using as the data source an arbitrary XML file - a file that was not created by a Genero program using fgl_report_createProcessLevelDataFile .

This function will replay the report from the file, replacing the running of the report (START REPORT, OUTPUT TO REPORT, FINISH REPORT statements).

The function sets up the report engine based on the current settings that have previously been loaded by a call to fgl_report_loadCurrentSettings, and may have been modified by calls to fgl_report_selectDevice or fgl_report_selectPreview. The function automatically calls fgl_report_commitCurrentSettings.

See Data From an XML File for an example program.

See Usage.