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

Click here to load this message in the networking platform