Checking that dbf index is corrupt

This forum is for general support of Xbase++
Post Reply
Message
Author
pauld
Posts: 15
Joined: Thu Jul 31, 2014 2:48 pm

Checking that dbf index is corrupt

#1 Post 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?

User avatar
rdonnay
Site Admin
Posts: 4774
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Checking that dbf index is corrupt

#2 Post 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.
The eXpress train is coming - and it has more cars.

Post Reply