OpenTables Method

Programmatically opens the tables and views associated with the data environment.

DataEnvironment.OpenTables

Parameters

  • DataEnvironment
    Specifies the data environment associated with the form, form set, or report.

Remarks

The OpenTables method loads the data environment tables when the AutoOpenTables property of the data environment is set to false (.F.) or if the data environment has been unloaded using the CloseTables method. The Opentables method acts like an event, that is it is called automatically if autoOpenTables = .T..

See Also

AfterCloseTables Event | AutoOpenTables Property | BeforeOpenTables Event | CloseTables Method

Applies To: DataEnvironment