L'auteur
 dridbul
Maroc Membre Simple # 0000002154 enregistré le 29/06/2008 64 ans DRIDBA Omar 20100 Casablanca Fiche personnelle
Note des membres
5/20 1 vote
|
Contributions > 21 - Outils
Réparer une tables VF9
# 0000000647
ajouté le 19/10/2008 17:12:22 et modifié le 11/01/2009
consulté 9270 fois

Niveau
initié
Version(s) Foxpro : VFP 9.0
Le téléchargement des pièces jointes est limité aux membres Veuillez vous identifier ou vous inscrire si vous n'avez pas encore de compte ...
|
| Description |
Si vous n'arrivez plus à ouvrir une table sous VFP 9 et vous avez le warning suivant :
Table "name" has become corrupted. The table will need to be repaired before using again. (Error 2091)
IL suffit de l'ouvrir en désactivant la "validation table"
|
| Code source : |
CLOSE TABLES all
SET tablevalidate TO 0
USE <table> EXCLUSIVE
if used('<table>')
SET STATUS bar on
SET TALK on
pack
SET STATUS bar off
SET TALK off
WAIT clear
MESSAGEBOX("Table restructurée avec succès.",64,"Bravo")
ENDIF
SET tablevalidate TO
CLOSE TABLES all
*-------------------------- ou
SET tablevalidate TO 0
USE <table> EXCLUSIVE
if used('<table>')
copy to c:\temp\f1
zap
appe from c:\temp\f1
ENDIF
SET tablevalidate TO
CLOSE TABLES all
|
| Commentaires |
Aucun commentaire enregistré ...
|