>Sergey,
>
>If I use this index, forcing the truncation, it isn't in the proper order on the index, but after I call the Reindex
>
Index On ALLTRIM(Transform(numfld)) tag numflda
>Would this be a bug? or expected behaviour?
>
Tracy,
VFP determines the lenght of the character expression index key for INDEX command using current record in the table. I don't know how it calculates it for REINDEX. In any case, using PADR() for the character expression index key makes it irrelevant.
--sb--