Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get table size to check header corruption
Message
De
27/04/2003 05:40:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Get table size to check header corruption
Divers
Thread ID:
00781935
Message ID:
00781935
Vues:
45
Hi,
I have write a function (follow sample code from MSKB) to check file size to to validate header corruption.
I found that, the file size I get using FSIZE() is not "updated". Which meant, even though I END TRANSACTION successfully, the file size still not changed. Therefore, I always get .F. from my function.
However, VFP returns correct file size dusing debugging. I used to use FLOCK() to force table refresh but doesn't work.

Any workaround to check corruption without close table?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform