Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Manual transactions
Message
De
10/04/2003 11:43:08
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Manual transactions
Divers
Thread ID:
00776133
Message ID:
00776133
Vues:
55
vfp8.0 RTM

I am not sure if I am doing something wrong or this is a bug. In my data handling class I issue sqlsetprop(lnHndl"Transactions",2) at the begining of each transaction. If everything saves ok I issue a sqlcommit() and if not sqlrollback(). Since I switched to vfp8, I seem to get rows posted when an error occurs and I issue the rollback or if the program crashes, the rows are still saved. Is this the correct way to do this?

Thanks.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform