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...