Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and SQL Server transactions
Message
De
23/08/2011 20:33:53
 
 
À
19/08/2011 18:54:44
Joel Leach
Memorial Business Systems, Inc.
Tennessie, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01521375
Message ID:
01521655
Vues:
47
So you both advise me to set transactions to manual?

pseudocode

set transactions to manual
tableupdate father table
if ok then tableupdate childtable
if any of the above fail, then rollback, otherwise, commit
finally set transactions to automatic

OK, I'll try that

Thank you both
Rafael Copquin
Rafael Copquin
Treasurer - Microsoft Users Group of Argentina (MUG)
www.mug.org.ar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform