GET TABLE TITLES
GET TABLE TITLES ( tableTitles ; tableNums )
Parameter | Type | Description | |
---|---|---|---|
tableTitles | Text array | ← | Current table names |
tableNums | Array integer | ← | Table numbers |
This command is not thread-safe, it cannot be used in preemptive code.
Description
The GET TABLE TITLES command fills the tableTitles and tableNums arrays with the names and numbers of database tables defined in the Structure window or using the SET TABLE TITLES command. The contents of these two arrays are synchronized.
If the SET TABLE TITLES command is called during the session, GET TABLE TITLES only returns the “modified” names and table numbers defined using this command.
Otherwise, GET TABLE TITLES returns the names of all database tables as defined in the Structure window.
In both cases, the command does not return invisible tables.