Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Corruption error
Message
From
13/11/2013 02:05:51
 
 
To
12/11/2013 22:26:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01587884
Message ID:
01587886
Views:
67
>Hi All:
>
>My client is getting the following error on a USE in an accounting program:
>
>Error 2065: Table "Blarg" has a file length / record count inconsistency. The table will need to be repaired before transactions can be committed properly.
>
>I get a similar error message when I try to USE the table from native VFP:
>
>Table "Blarg" has become corrupted. The table will need to be rapaired before using again.
>
>Is there anything that can be done short of restoring from the last known good backup?
>
>Thanks,
>
>Yossi


You can try (there is no guarantee that this will work):
Just make sure that you have a good copy of all tables.
lnValidate = SET("TABLEVALIDATE")
SET TABLEVALIDATE TO 0
USE Blarg EXCLUSIVE
COPY TO TestBlarg
ZAP
APPEND FROM TestBlarg
ERASE ("TestBlarg.*)
USE 
SET TABLEVALIDATE TO lnValidate
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform