Promotic
WikipediaLinkedInYoutubeTwitterFacebook

SetKeyValue - method of the PmaReport object

Description:
Sets the keyword value (represented by a key and value pair).
Syntax:
Empty SetKeyValue(String sKey, Variant vValue)
Parameters:
sKey(String) Keyword identifier ("color", "value", "width" ...).
vValue(Variant) Keyword value ("#ff0000", 80, "20%" ...).
Note:
By means of the keywords, it is possible to put a large amount of updated values into the report. It is possible to transfer the values of any data type (Variant), but also the complete one and two dimensional arrays. For using the keywords for transforming the template into the output report see Source file description of the PmaReport object.
See also:
Example1:
JavaScriptVBScriptSelect and copy to clipboard

var oReport = pMe.Pm("/Report");
oReport.SetKeyValue(sKey, vValue);
Example2:
See Example2 in the description of the PmaReport object.
PROMOTIC 9.0.15 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