Retrieve.AsNeeded
property (DataWindow object)
Description
Whether rows will be retrieved only as needed from the database.
After the application calls the Retrieve method to get enough rows to
fill the visible portion of the DataWindow, additional rows are “needed”
when the user scrolls down to view rows that have not been viewed
yet.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
dw_control.Object.DataWindow.Retrieve.AsNeeded |
Describe and Modify argument:
|
1 |
"DataWindow.Retrieve.AsNeeded { = 'value ' }" |
|
Parameter |
Description |
|---|---|
|
value |
Whether rows will be retrieved only as needed from Values are:
|
Usage
In the painter
Set the value using Rows>Retrieve Options>Rows As
Needed.
Examples
|
1 2 3 4 5 |
string setting setting = dw1.Object.DataWindow.Retrieve.AsNeeded dw1.Object.DataWindow.Retrieve.AsNeeded= "Yes" setting = dw1.Describe("DataWindow.Retrieve.AsNeeded") dw1.Modify("DataWindow.Retrieve.AsNeeded=Yes") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest