>How can i prevent data loss if the computer loses power or the computer terminates unexpectedly.
>
>Our clients are having problems in reports which are untally because of garbage data or data lost after an abnormal termination of the computer. Is there a way to prevent data lost in Visual Foxpro.
Insist that your customer buys a UPS. If he won't, you charge him 100$ for the first repair, 200$ for the second, 400$ for the third, 800$ for the fourth, and so on, until he gets the message.
NB! You can also add a lot of Flush commands, but that will slow down your program considerably.