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

Click here to load this message in the networking platform