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.
DataWindows
PowerBuilder dot notation:
dw_control.Object.DataWindow.Retrieve.AsNeeded
Describe and Modify argument:
"DataWindow.Retrieve.AsNeeded { = ' value ' }"
Parameter |
Description |
---|---|
value |
Whether rows will be retrieved only as needed from the database. Values are:
|
Set the value using Rows>Retrieve Options>Rows As Needed.
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")