version 3
Count tables Number
Parameter | Type | Description | ||||
This command does not require any parameters | ||||||
Function result | Number | Number of tables in the database |
Description
Count tables returns the number of tables in the database. Tables are numbered in the order in which they are created.
Example
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;Count tables) For ($vlTable; 1; Size of array(asTables)) asTables {$vlTable}:=Table name ($vlTable) End for
See Also