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).
Graph and OLE Object controls
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. |
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.
Select the control and set the value in the Properties view, Data tab, Rows option.
strRange = dw1.Describe("graph_salary.Range")
strRange = dw1.Describe("ole_report.Range")