Range

Description

The rows in the DataWindow used in the graph or OLE Object control. Range can be all rows, the rows on the current page, a group that you have defined for the DataWindow, or the current row (OLE Object controls only).

Applies to

Graph and OLE Object controls

Syntax

PowerBuilder dot notation:

dw_control.Object.controlname.Range

Describe argument:

"controlname.Range"

Parameter

Description

controlname

The name of the graph control within the DataWindow that will display the graphed rows or the name of the OLE Object control that holds an OLE object to which the specified range of rows will be transferred.

Usage

Possible values are:

GroupBy and Target also affect the data that is transferred to the OLE object.


In the painter

Select the control and set the value in the Properties view, Data tab, Rows option.

Examples

Example 1

string strRange

strRange = dw1.Object.graph_salary.Range

Example 2

strRange = dw1.Object.ole_report.Range

Example 3

strRange = dw1.Describe("graph_salary.Range")

Example 4

strRange = dw1.Describe("ole_report.Range")