RpSection:SetVariableValue() Method
<< Click to Display Table of Contents >> RpSection:SetVariableValue() Method |
![]() ![]() ![]() |
Purpose
To set the value of a ReportPro user defined variable in a section.
Syntax
<oRpSection>:SetVariableValue(cName, xValue) NIL
Arguments
cName |
The name of the ReportPro variable. |
xValue |
The new variable value. |
Example
// Change the variable used for the section title
oRpSection:SetVariableValue("SectionTitle", ;
"The New Report Title")