Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Begin Transaction - when?
Message
From
18/01/2000 17:00:52
 
 
To
18/01/2000 16:55:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00319637
Message ID:
00319639
Views:
14
>Now my question: When I want to make a Begin Transaction - End Transacation, do I have to Begin the transaction before I make the changes to the buffer, or just before I do the Tableupdate ?

Before the TableUpdate(). The transaction can be rolled back if something bad happens. Putting data in the buffer is already revertable, so when you commit you want the ablility to rollback too, and thats what the transaction is for.
Previous
Reply
Map
View

Click here to load this message in the networking platform