There doesn't seem to be an easy answer. You have to use something like the tag() function to step thru all your indexes and check to see if the field is part of the key() of the index.
>How do I check if a field has an index?
>
>I would like to know if my REPNUM field has an index but I can't find a way of doing this.
>
>I have been trying TAG(), TAGNO(), TAGCOUNT(), CDX() and other functions but no answer yet.
>
>Thank you in advance.
--Todd Sherman
-Wake Up! Smell the Coffee!