AutoOpenTables Property

Applies To   See Also

Determines whether the tables or views associated with a form set, form, or report's data environment are loaded automatically. Available at design time; read-only at run time.

Syntax

DataEnvironment.AutoOpenTables[ = lExpr]

Settings

lExpr

The settings for the AutoOpenTables property are:

Setting Description
True (.T.) (Default) The form set, form, or report's tables and views are opened automatically.
False (.F.) The tables and views are not opened automatically.

Remarks

If AutoOpenTables is set to false (.F.), you can call the data environment's OpenTables method to programmatically load the data environment.