Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BEGIN/END Transaction
Message
From
10/08/2003 14:29:21
 
 
To
10/08/2003 13:42:10
Shlomo Kupperman
Blumenfeld Development Group
Syosset, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00818711
Message ID:
00818722
Views:
16
Hi Shlomo

>My question is, do I need to issue 3 Begin Transaction commands (before each process of the appropriate DB) and 3 End Transaction / Rollback, or I need only one at the begining of the process and one at the end.
>I am using VFP 7.

Yes, you will need separate transactions for each database. VFP Transactions are handled in the DBC and you cannot actually span DBCs within the same transaction.

Probably the best solution is to write out the current version of each record that you are going to modify before you do anything so that you can 'roll back' changes in other datbases if one fails.
----
Regards
Andy Kramek
Previous
Reply
Map
View

Click here to load this message in the networking platform