4D v13.4Get last table number |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v13.4
Get last table number
Get last table number
Get last table number returns the highest table number among the tables in the database. Tables are numbered in the order in which they are created. If no table has been deleted from the database, this command then returns the number of tables present in the database. In the case of repeated loops on the table numbers of the database, you must use the Is table number valid command in order to check that the table has not been deleted. The following example builds an array, named asTables, with the names of tables defined in the database. This array can be used as a drop-down list (or tab control, scrollable area, and so on) to display the list of the tables, within a form: ARRAY STRING(31;asTables;Get last table number) |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D v11 SQL SEE ALSO
Get last field number |
||||||||||||||||||||||||||||||||||||||||||||||||||||||