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 from the application. 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 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