Returns the fieldref of the field that has this index in the key referred to by the keyref variable. Returns an error if no key is selected.
FieldRef := KeyRef.FIELDINDEX(Index)
The keyref that refers to the key.
The input index.
Property Value/Return Value
The fieldref that refers to the field with this index in the key.
The first field in the index must have index 1, the second index 2, and so on. The last field must have index = FIELDCOUNT. If the index is out of the range supplied or if no table is selected, the function returns an error.