Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Update Protections
Message
De
25/05/2007 06:24:37
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01228411
Message ID:
01228426
Vues:
18
>Hi Jos,
>
>>The specific problem I wish to protect against is a crash of the update routine somewhere during the update process. What is the recommended solution using VFP9/SP1.
>
>I would make them transactable (MakeTransactable function) and then proceed like with database tables.

Christof, is it possible to wrap the entire procedure so that all tables currently open, or to be opened, are made transactable, then issue BEGIN TRANSACTION, then run the existing routine (which may open other files), then issue END TRANSACTION to commit all changes?

I also have exclusive access to all tables btw.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform