Promotic
WikipediaLinkedInYoutubeTwitterFacebook

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 preset 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 and 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 the value
oReport.SourceFile = "#appres:report.htm";  //Writing the value
PROMOTIC 9.0.16 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice