ADBOBJECTS( ) Function Example
The following example opens the testdata
database and uses ADBOBJECTS( ) to create an array named gaTables
containing names of tables in the database. The tables names are then displayed.
* Close any open databases
CLOSE DATABASES
* Clear desktop to prepare for displaying the array
CLEAR
* Open sample testdata database
OPEN DATABASE (HOME(2) + 'Data\testdata')
* Function call with cSetting for table names
=ADBOBJECTS(gaTables, "TABLE")
* Displays array gaTables created by ADBOBJECTS( ) function
DISPLAY MEMORY LIKE gaTables