>Emmanuel,
>I have seen a cdx file become corrupted to the point where even using 'delete tag all' and then 'index FIELD tag TAG' does not fix it. That's when you have to delete the cdx file or use some other means to fix it.
Yes, I've found this problem too. In that case I usually remove the damaged table manually, pack the database, recreate the index and add the table again. This can be done programaticly but if you use triggers and relations with other tables within the database they're lost. I don't use triggers or internal relations, so I have no problems with this solution.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain