Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Object PmaReport (Report)

Description:
See: PmaReport - Deatiled object description
 
The object serves for creating reports from HTML, XML or TXT template files.
 
No other Pma objects can be created in this object.

This object can be created in objects: PmaRoot, PmaFolder, PmaPrototype. Multiple objects of this type can be created in such objects.

The object can be created as empty from the Preconfigurations in group "Basic" menu or as preconfigured Preconfigurations in group "Report (PmaReport)".

This object adopts properties and methods of object PmaObject.
Properties and methods:
MakeReport Creates the output report (manual way)
RemoveAllKeyValues Deletes all keywords
SaveToFile Saving the output report into the file
SaveToString Saving the output report into a string
SetKeyValue Sets the keyword value
SourceFile Path and name of the source file containing the report template
Title Window title
Events:
onReportRequest Is triggered on output report request
Configuration windows:
Object General information about the object
Content Content of the object in the XML form
Events Definition of object events algorithms
Report Basic settings of the PmaReport object
Permissions Object permissions
Web server The link-up of the object to the Web server

History:
Pm9.00.00: Object name changed: PmReport -> PmaReport
Pm7.05.02: Fixed bug: Setting of pEvent.Pars parameter in the onReportRequest event didn't work for request from Web client.
Pm7.05.01: Fixed bug: The transferred parameters sParams in SaveToString and SaveToFile methods did not work.
Pm7.05.00: The viewer of this object (see the OpenView method) can now be open with parameter. See also the pEvent.Pars parameter in the onReportRequest event.
Pm7.04.00: This object can be used very generally and easily for creating e.g. panel reports displayed in the workspace (in the PmaWorkspace object), print reports to a printer, for saving into HTML/XML/TXT files, etc.. In some situations it can even be a suitable alternative to the PmaPanel object.
PROMOTIC 9.0.7 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