>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)