Update cookies preferences
Promotic

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 keywords, it is possible to put a large amount of current values into the report from the application. It is possible to transfer the values of any data type (Variant), but also the 1-dimensional array and 2-dimensional array. For using the keywords for transforming the report 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.31 SCADA system documentation MICROSYS, spol. s r.o.

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