>hi,
>i am developing app using VFP. It is single machine app n also multiuser file sharing environment.
>
>What window setting/basic equipment (beside of backup power) or etc should I set to prevent any lost data after any failure, table corrupt and other disaster?
>
>Thank you
The most important single precaution is to make regular backups. Sooner or later, you will need them.
In VFP, use FLUSH after TableUpdate() (or just after replacing records, if you don't use buffering). This should avoid most corruptions.
If your OS is set to use a write-cache, and the power fails, you can easily get corruption. Turn it off.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)