Page 1 of 1

Checking that dbf index is corrupt

Posted: Tue Dec 22, 2015 4:12 pm
by pauld
Hi. We're running into an issue where our program kicks us out due to a corrupt index. My question is, is there a function (either in xbase or xpress++) where we can check an index or an index's header to see if it's corrupt?

Re: Checking that dbf index is corrupt

Posted: Tue Dec 22, 2015 4:51 pm
by rdonnay
Do you get a runtime error when you open the index?

If so, you can trap that error with a custom ErrorBlock() and then post a more friendly message or do a reindex.