Skip to main content
Version: Next

GET FIELD TITLES

GET FIELD TITLES ( aTable ; fieldTitles ; fieldNums )

ParameterTypeDescription
aTableTableTable for which you want to find out the field names
fieldTitlesText arrayCurrent field names
fieldNumsArray integerField numbers

This command is not thread-safe, it cannot be used in preemptive code.

Description

The GET FIELD TITLES command fills the fieldTitles and fieldNums arrays with the names and numbers of database fields for the desired aTable. The contents of these two arrays are synchronized.

If the SET FIELD TITLES command is called during the session, GET FIELD TITLES only returns the “modified” names and field numbers defined using this command.

Otherwise, GET FIELD TITLES returns the names of all database fields as defined in the Structure window.

In both cases, the command does not return invisible fields.

See also

GET TABLE TITLES
SET FIELD TITLES