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

Click here to load this message in the networking platform