Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Repair Corrupted DBF
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01306586
Message ID:
01306603
Views:
34
This message has been marked as the solution to the initial question of the thread.
>I have a table in an app which errors when I try to USE it:
>
>
>Table 'billcom.DBF' has become corrupted. The table will need to be repaired before using again.
>
>
>Any suggestions?

We get that occasionally and have no idea what causes it. To fix the problem
SET TABLEVALIDATE TO 0
USE myTable
BROWSE
....append 3 or 4 records.......
....delete the appended records....
You can probably do the append/delete in code as well, we haven't tried that. We don't have a generic open/table routine but if we did this code would probably be inside a TRY/CATCH block.

Hope it helps.......Rich
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform