Icon OpenDatabase Method

function OpenDatabase(const DatabaseName: String):
      TDBISAMDatabase

Usage

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