Report Generator Programs (Magic xpa 4.x)
The Report Generator component has three public programs that can be activated to control the report generator tool:
This program allows you to run the report generator on the current task data view.
Parameters:
0 – Entire data view for the task (default)
1 – All form variables
2 – Displayed form variables (in this case, only the variables that are visible will be displayed)
This program allows you to run the Report Generator on the current task data view and a pre-selected report template.
Parameters:
0 – Open the report in edit mode
1 – Open the report in preview mode
2 – Print the report
0 – Entire data view for the task (default)
1 – All form variables
2 – Displayed form variables (in this case, only the variables that are visible will be displayed)
This program allows you to change the Report Generator settings.
Parameters:
0 – ANSI
1 – Unicode
2 – UTF8
-
Disable Report Generator – Disables the Report Generator in order to run the Magic xpa internal Print Data wizard.
-
Use MLSTrans() on var. names – Determines whether the variables will be translated according to the current language.
-
Use Display Name – The Display Name will be used (if defined). If the Use MLSTrans() on var. names parameter is also set, the translation will be used for the display name. (Since version: 3.2a)