Adds the specified field to the specified index of a temp-table. It requires the named index to be added first.
This method cannot be called after TEMP-TABLE-PREPARE( ) has been called unless CLEAR( ) is called first.
Return type: LOGICAL
Applies to: Temp-table object handle
The following example fragment adds to a temp-table a new unique primary index field with two components, the first ascending, the second descending: