RpSection:SetVariableValue() Method

<< Click to Display Table of Contents >>

Navigation:  RpSection Class >

RpSection:SetVariableValue() Method

Previous pageReturn to chapter overviewNext page

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")