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
Applies To: DataEnvironment
The OpenTables method loads the data environment tables when the data environment's AutoOpenTables property is set to False (.F.) or if the data environment has been unloaded using the CloseTables method. The OpenTables method acts like an event in that is called automatically if the AutoOpenTables property is set to True (.T.).
If a cursor adapter's AutoOpen method fails, the data environment's OpenTables method does not report an error.