Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT and Transactions...
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
SPT and Transactions...
Divers
Thread ID:
00888894
Message ID:
00888894
Vues:
43
Do I have this right?
=SQLEXEC(THIS.oSqlconnection.nConnHandle,"BEGIN TRANSACTION")
THIS.oFromWarehouse.Dotransfer()
THIS.oToWarehouse.Dotransfer()
THIS.UpdateCounters()
THIS.Makexfer()
THIS.AddVelocity()
IF THIS.lSuccess
	=SQLEXEC(THIS.oSqlconnection.nConnHandle,"COMMIT TRANSACTION")
ELSE
	=SQLEXEC(THIS.oSqlconnection.nConnHandle,"ROLLBACK TRANSACTION")
ENDIF
Kogo Michael Hogan

"Pinky, are you pondering what I'm pondering?"
I think so Brain, but "Snowball for Windows"?

Ideate Web Site
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform