Icon FindDatabase Method

function FindDatabase(const DatabaseName: String):
      TDBISAMDatabase

Call the FindDatabase method to searches a session's list of TDBISAMDatabase components for a specified database. The DatabaseName parameter specifies the name of the TDBISAMDatabase component to search for. The FindDatabase method compares the DatabaseName parameter to the DatabaseName property for each TDBISAMDatabase component linked to the session via its SessionName property. If a match is found, the FindDatabase method returns a reference to the TDBISAMDatabase component. Otherwise the FindDatabase method returns nil.
Image