Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to save data before power failure ?
Message
De
04/01/2002 06:48:44
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
03/01/2002 18:32:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00600557
Message ID:
00600675
Vues:
27
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform