Description
The amount of virtual storage in bytes that has been allocated for the DataWindow object.
Applies to
DataWindows
Syntax
PowerBuilder dot notation:
dw_control.Object.DataWindow.Storage
Describe argument:
"DataWindow.Storage"
Usage
Canceling a query that uses too much storage
You can check this property in the script for the RetrieveRow event in the DataWindow control and cancel a query if it is consuming too much storage.
Examples
string setting setting = dw1.Object.DataWindow.Storage setting = dw1.Describe("DataWindow.Storage") IF Long(setting) > 50000 THEN RETURN 1