SourceFile - property of the PmaReport object
Path and name of the source file containing the report template.
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
var oReport = pMe.Pm("/Report");
var sSourceFile = oReport.SourceFile;
// Reading the value
oReport.SourceFile = "#appres:report.htm";
// Writing the value