Share via


AutoOpenTables Property

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.

DataEnvironment.AutoOpenTables[ = lExpr]

Property Values

  • 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.

See Also

BeforeOpenTables Event | OpenTables Method | OpenViews Property

Applies To: DataEnvironment Object