Icon FindDatabase Method

function FindDatabase(const DatabaseName: String): TEDBDatabase

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