Update cookies preferences
Promotic

SourceFile - property of the PmaReport object

Description:
Path and name of the source file containing the report template.
Syntax:
String SourceFile
Note:
Property access for read and write. The default value of this property is defined in the "Source file of the report template" configurator of this object.
 
It is recommended to use the PROMOTIC path syntax - see PROMOTIC path to files or folders.
If the template file is re-read by writing into the property, then it is represented in the output report after the following report update (see the automated/manual way of report update in the description of PmaReport).
Example:
JavaScriptVBScriptSelect and copy to clipboard

var oReport = pMe.Pm("/Report");
var sSourceFile = oReport.SourceFile;   // Reading from the property
oReport.SourceFile = "#appres:report.htm";   // Writing into the property
PROMOTIC 9.0.31 SCADA system documentation MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r.o.