Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Corruption error
Message
 
À
12/11/2013 22:26:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01587884
Message ID:
01587886
Vues:
66
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform