Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BEGIN TRANSACTION and its siblings
Message
De
26/06/2002 18:41:08
 
 
À
24/06/2002 21:35:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Documentation de produit
Divers
Thread ID:
00671883
Message ID:
00672723
Vues:
11
>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....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform