NoDataOnLoad Property

Applies To   See Also

Causes the view associated with a Cursor to activate without downloading data. Available at design time; read-write at run time.

Syntax

DataEnvironment.Cursor.NoDataOnLoad[ = lExpr]

Settings

lExpr

The settings for the NoDataOnLoad property are:

Setting Description
True (.T.) The view associated with the Cursor is opened without downloading data.
False (.F.) (Default) The view associated with the Cursor is opened with data.

Remarks

Note   When the Cursor object is accessed using CURSORSETPROP( ), the NoDataOnLoad property is read-only at run time.

Use the NoDataOnLoad property to ensure that the FormSet or Form associated with the view loads quickly (it can be time-consuming to download data from a backend server). You can use REQUERY( ) in conjunction with NoDataOnLoad to download data into the active view once the Form is loaded.

The NoDataOnLoad property mimics the behavior of the NODATA clause of USE.