GET FIELD TITLES
GET FIELD TITLES ( aTable ; fieldTitles ; fieldNums )
Parameter | Type | Description | |
---|---|---|---|
aTable | Table | → | Table for which you want to find out the field names |
fieldTitles | Text array | ← | Current field names |
fieldNums | Array integer | ← | Field 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.