Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to save data before power failure ?
Message
From
04/01/2002 06:48:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
03/01/2002 18:32:09
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00600557
Message ID:
00600675
Views:
30
>Dear All,
> After power failure, when my restaurant program is started again ALL data in the previous session are lost. Is there any way to save data automatically in a fixed time to avoid loss of all data?
>
>Thanks for any suggestion!
>
>Harry

Apart from the correct use of TableUpdate() and transactions (if you happen to use transactions), you should also use the FLUSH command after every record change. Otherwise, information may stay in buffers.

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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform