Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Transaction - End Transaction - Rollback
Message
From
12/04/2007 04:21:46
Hans-Otto Lochmann
Dr. Lochmann Consulting Gmbh
Frankfurt, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Transaction - End Transaction - Rollback
Miscellaneous
Thread ID:
01214857
Message ID:
01214857
Views:
60
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
Next
Reply
Map
View

Click here to load this message in the networking platform