Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BEGIN TRANSACTION and its siblings
Message
From
26/06/2002 18:41:08
 
 
To
24/06/2002 21:35:39
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Product Documentation
Miscellaneous
Thread ID:
00671883
Message ID:
00672723
Views:
10
>Specifically, it fails to mention that it affects all subsequent revisions to any tables until either a END TRANSACTION or ROLLBACK is issued. In fact reading it would lead one to conclude that it *does* only affect one table at a time.

ARGH! Thats exactly how I interpreted it. I built my business class so that if it contained child objects, upon save, each child object would start it's own BEGIN TRANSACTION. I went to quite a bit of trouble to ensure things worked this way.

If I understand you correctly, I can just handle it all with the top level object, and (by using txnlevel() maybe), have any child objects handled by the main transaction.

Would defintately make things tidier....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform