Icon GetTableNames Method

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

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

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