Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tablerevert() vs. Rollback
Message
De
16/12/1998 11:57:04
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00167645
Message ID:
00168111
Vues:
23
No, you are correct. What you are wrapping in the transaction is the tableupdate, in effect.

You only want to tablerevert if the transaction was unsuccessful, which you only know after you've tried it, of course. And once you know it was unsuccessful, the first order of business to rollback the updates that did take place, which ends the transaction. Then you are free to use the buffered data or not. At least, that how I think about the "why" of what order these things come in. :-)

>Nancy,
>Thanks once again!!
>What confused us here was that going the other way, we issue the
>TABLEUPDATE() and then the END TRANSACTION or should that also be in reverse order??
>
>Sandy
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform