Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get table size to check header corruption
Message
De
28/04/2003 10:17:25
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00781935
Message ID:
00782221
Vues:
18
Hi,
Thank you. I have try it, and I get a new problem here:

I have follow the formula
nRecCount = RECCOUNT()
nLogicalSize = HEADER() + (nRecCount * RECSIZE()) + 1

to check the file size and compare with the result returned from FSIZE() or ADIR().
The result is nLogicalSize always more than 1 byte than result returned by FSIZE() or ADIR().
So, should I have " + 1" in that formula?

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...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform