There's no reliable way to determined if index is corrupted or not. You should work on finding and eliminating cause of such corruption. See
http://support.microsoft.com/kb/264867>i am using CDX index files
>
>some times i am facing index problem
>
>when i use the dbf file, it is not showing any error.
>
>but not showing any record
>
>after reindex, it is showing all the records
>
>
>use acmast index acmast excl
>reind
>
>
>how to know that the index is not proper after opening the dbf.
>
>i have found this code
>
<snip>
--sb--