Another option would be to use GenDBC to create a prg that can rebuild the DBC and all its tables, indexes, etc. Split out the index section and run as a separate program.
>Shawn,
>
>Besides using a tool like stonefield, you can do the following.
>
>Make a copy of all your CDX and DATABASE files when they're empty and write them to a backup dir.
>
>When a index crashes, you can copy the backup of the crashed index over the production index and reindex the table.
>
>Walter,
>
>>Any tools to rebuild cdx's if they fail or get corrupted. or destroyed.
>>
>>I know i once saw a product that rebuild foxpro files.
>>
>>TIA
>>Shawn