>Hi,
>
>I had my application written using vfp5a. However, some of index are often out of synch, so I had to delete the index (CDX) files and do a indexing again. However, when I delete it then index it again in my code, it is working okay, However, when I manually delete it using window explorer, it will give me error when my program open the file and report of invalid *.idx file.
>
> I want to ablities to allow myself and my customer to delete the index file manually, then let it recreate the index file and don't want vfp to prompt me for 'error'. Please advise.
>
>
>Thank
Virusim,
You will have to include code to recreate all the index tags, so you can ALSO include code to "Delete tag all" before you delete the CDX file.
HTH
Barbara