Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to transactions with Cursoradapters and ms sql
Message
De
20/11/2006 01:07:44
 
 
À
19/11/2006 14:27:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01171075
Message ID:
01171095
Vues:
12
>I have created a CursorAdapter (form) to update in MS SQL srv. table.
>
>How can i rollback the changes after TABLEUPDATE() = .t.?
>
>I have:
>
>SQLSETPROP(nconn,'Transactions',2)
>Ca.UseTransaction=.F.

Use SQLROLLBACK() to rollback changes on the server, use VFP transaction to rollback changes in the cursor.

Thanks,
Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform