Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transactions in client/server
Message
De
04/06/2005 23:18:12
 
 
À
04/06/2005 20:28:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
01020288
Message ID:
01020306
Vues:
45
This message has been marked as the solution to the initial question of the thread.
>I have trouble understanding the following.
>
>How do transactions work with client/server? Do you continue using the VFP commands, BEGIN TRANSACTION, etc., or do you have to define something on the database server?

If you're connecting through ODBC (e.g. SQLCONNECT(), SQLEXEC()) you can use SQLCOMMIT(), SQLROLLBACK() and (optionally) SQLSETPROP(). Or, you can pass the backend's native transaction control commands via SPT.

Another common approach is to call a back-end stored procedure, which has been designed to handle transactions natively.
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform