Range
property (DataWindow object)
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:
|
1 |
dw_control.Object.controlname.Range |
Describe argument:
|
1 |
"controlname.Range" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the graph control within the DataWindow |
Usage
Possible values are:
-2 — The current row (OLE Object controls only)
-1 — The rows on a single page in the DataWindow object
0 — All the rows in the DataWindow object
n — The number of a group level in the DataWindow object
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
|
1 2 3 4 5 |
string strRange strRange = dw1.Object.graph_salary.Range strRange = dw1.Object.ole_report.Range strRange = dw1.Describe("graph_salary.Range") strRange = dw1.Describe("ole_report.Range") |