Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transaction - End Transaction - Rollback
Message
De
12/04/2007 04:21:46
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Allemagne
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Transaction - End Transaction - Rollback
Divers
Thread ID:
01214857
Message ID:
01214857
Vues:
61
Hi All,

Sorry for this beginner's question: Does "Rollback" imply TableRevert()?

Details: I want to use this kind of a structure - does the Rollback effect the TableRevert()-s, which are needed, when some of the TableUpdate()-s fail?
m.llReturnValue = .F.
Begin Tansaction
.....
< Some Loop With m.llReturnValue = m.llReturnValue And TableUptdate(...) >
.....
If m.llReturnValue = .T.
  End Transaction
Else
  Rollback
Endif
Thanks in advance!

Hans
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform