>Hi,
>Ya, That why I use that formula to check the tablevalidate in VFP6.
>However, now I found that the result of formula may not same with ADIR/FIZE()
>Therefore, it is impossible for me to use that formula to check data loss.
Hi John,
If file is corrupted the difference is by record lenght, not by 1 byte. You can check if file size returned by ADIR() is equal calculated file size or calculated file size -1 and cosider it to be correct.
--sb--