Paul,
Check this Wiki article
http://fox.wikis.com/wc.dll?Wiki~CDXCorruptionChecklist~VFP to see if it can solve your corruption problem. Tools like Stonefield provide reindexing capabilities.
>I have one index that gets corrupted from time to time (don't know why).
>but the real problem is that when I issue a use logins.dbf I have
>Index does not match the table recreate the index.
>The table is not opened so I can not issue a delete tag all then recreate
>the indexes.
>and if I just delete the cdx Then I Have Database is invalide validate database.
>I need a way to automate this process in a reindexation routine or something
>similar.