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.
Example1:
JavaScriptVBScriptSelect and copy to clipboard
var oReport = pMe.Pm("/Report");
oReport.SetKeyValue(sKey, vValue);
Dim oReport
Set oReport = pMe.Pm("/Report")
oReport.SetKeyValue sKey, vValue