Retrieve.AsNeeded DataWindow object property
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.
Controls
DataWindows
Syntax
PowerBuilder dot notation:
|
1 |
<span>dw_control</span>.Object.DataWindow.Retrieve.AsNeeded |
Describe and Modify argument:
|
1 |
"DataWindow.Retrieve.AsNeeded { = ' <span>value </span>' <span></span>}" |
|
Parameter |
Description |
|---|---|
|
value |
Whether rows will be retrieved only as Values are:
|
Usage
In the painter
Set the value using Rows>Retrieve Options>Rows
As Needed.
Examples
|
1 |
string setting |
|
1 |
setting = dw1.Object.DataWindow.Retrieve.AsNeeded |
|
1 |
dw1.Object.DataWindow.Retrieve.AsNeeded= "Yes" |
|
1 |
setting = dw1.Describe("DataWindow.Retrieve.AsNeeded") |
|
1 |
dw1.Modify("DataWindow.Retrieve.AsNeeded=Yes") |
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest