>>>What was the command again, to check whether an index tag exists? TRY-CATCH does seem a little awkward...
>>>
>>
>>SELECT mytable
>>? TAGNO(lcTagName) <> 0
>>* or
>>? TAGNO(lcTagName, "",lcAlias) <> 0
>>
>
>Oh, right, thanks, that was it. I thought it was one of the commands included for compatibility - and this one is marked for "compatibility with dBASE".
Still works, but you can also go with ascan and ataginfo. Though it would be an OVERKILL :)
If it's not broken, fix it until it is.
My Blog