No, there's nothing built-in for that. You can loop through table fields using AFIELDS(), FIELDS(), FCOUNT(), e.t.c. and see if each field is presented in the index key expression returned by KEY().
>I created a .CDX file. The key expression contains multi fields as "cField1+STR(nField2)+...". Now, I am trying to recall those fields in the index one by one to create a cursor programmatically. I realize that I can get a string of the key expression with SYS(14) or KEY() function, but I need to extract a field name logically. Is there a function that I can use to accomplish this task without programming whole bunch of codes?
>Thank you in advance.
>
--sb--