Icon GetTableNames Method

procedure GetTableNames(const DatabaseName: String; List:
      TStrings)

Usage

Call the GetTableNames method to populate a string list with the names of all tables found in the TEDBDatabase component specified by the DatabaseName parameter. List is a string list object, created and maintained by the application, into which to store the table names.

Information The DatabaseName parameter can refer to either the DatabaseName property of a TEDBDatabase component or the name of an actual database. If the DatabaseName parameter matches the DatabaseName property of an existing TEDBDatabase component, then the table names returned will be from that TEDBDatabase component. Otherwise, the DatabaseName parameter will be treated as an actual database name and the table names will be retrieved from the appropriate database.
Image