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]
- 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.
If AutoOpenTables is set to false (.F.), you can call the data environment's OpenTables method to programmatically load the data environment.
Applies To: DataEnvironment Object