Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get table size to check header corruption
Message
From
28/04/2003 10:17:25
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00781935
Message ID:
00782221
Views:
19
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...
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform