Advantage error 7038 means the record number referenced by the index does not exist in the DBF file. I see it in a program that filters a large database and copies the resulting dataset to a new file. The new index contains, somehow, the record numbers of the larger database, and can produce...