Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transaction - End Transaction - Rollback
Message
 
 
À
12/04/2007 04:21:46
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01214857
Message ID:
01214913
Vues:
14
>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

You should put tablerevert right after ROLLBACK.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform