Range DataWindow object property
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).
Controls
Graph and OLE Object controls
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.<span>controlname</span>.Range |
Describe argument:
|
1 |
"<span>controlname</span>.Range" |
|
Parameter |
Description |
|---|---|
|
controlname |
The name of the graph control within |
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 |
string strRange |
|
1 |
strRange = dw1.Object.graph_salary.Range |
|
1 |
strRange = dw1.Object.ole_report.Range |
|
1 |
strRange = dw1.Describe("graph_salary.Range") |
|
1 |
strRange = dw1.Describe("ole_report.Range") |