Have you made ANY structure changes? I've tried the code with the correct order already set, with another index order set and with NO order. Can only reproduce the error if the index name doesn't exist.
Barbara
>This is code that was working, then all of a sudden stopped.
>
>Geno
>
>>Geno,
>>Check your spelling - you will get that message if your index name is misspelled.
>>
>>HTH
>>Barbara
>>
>>>Code Example
>>>
>>>IF SEEK(key, "table", "Index") THEN
>>>ENDIF
>>>
>>>and then return an error of
>>>
>>>'Table has no index order set'
>>>
>>>I thought that's that purpose of the 3rd param.
>>>
>>>Any help...
>>>
>>>Geno