RpSection:GetVariableValue() Method

<< Click to Display Table of Contents >>

Navigation:  RpSection Class >

RpSection:GetVariableValue() Method

Previous pageReturn to chapter overviewNext page

Purpose

To get the value of a ReportPro user defined variable in a section.

Syntax

<oRpSection>:GetVariableValue(cName) xValue

Arguments

cName

 The name of the ReportPro variable.

Description

Returns the ReportPro variable value as a usual.

 

Note:        It may be necessary to call RpReport:Connect2Source() before using this method.  See the entry for RpReport:Connect2Source() for more information.

Example

// Print the value of a ReportPro variable.

? oRpSection:GetVariableValue("SectionHDR")