Icon OpenDatabase Method

function OpenDatabase(const DatabaseName: String): TEDBDatabase

Usage

Call the OpenDatabase method to open an existing TEDBDatabase component, or create a temporary TEDBDatabase component and open it. OpenDatabase calls the FindDatabase method to determine if the DatabaseName parameter corresponds to the DatabaseName property of an existing TEDBDatabase component. If it does not, OpenDatabase creates a temporary TEDBDatabase component, assigning the DatabaseName parameter to the DatabaseName property. It also assigns the DatabaseName parameter to the Database property. Finally, OpenDatabase calls the Open method of the TEDBDatabase component.
Image