REPORTER 22.1

Library Program/Script

Library program/script


This option allows you to specify a program/script from the library, the output of which will be inserted into the report by REPORTER when the report is finally generated. (See the Standard library programs for more details about using the library)

Once you have selected this option you need to click and drag to create an area in the report where the output is to appear. Then the relevant Insert window will be brought up.

From this window you can select the program/script you want from the program list by clicking on it with the mouse. Depending on the program/script a number of argument boxes may appear into which you need to specify any arguments required by the script. By right clicking or pressing Ctrl+I in these you can bring up a Insert variables window from which to select a variable to use for the argument.

The output from the program/script can be set to a variable using the Set to variable input box or Select button. Additionally you can specify that the output from the program is not shown on the page by using the Do not show any output on page option. This could be useful if you want to run the program to get the output as a variable but use it later in the template (for example in a table) rather than having any output here.

The font properties can be set using the Text properties section. The text colour will be set to the current text colour setting.
The Conditions... button (see Conditional formatting) enables the user to apply conditional formatting to the text.

The OK button will exit this windows and add the new object to the template. The Cancel button will exit this window without adding anything to the report.