Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Connection and Transactions
Message
 
À
20/03/2003 14:57:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00767979
Message ID:
00768302
Vues:
23
Hi Fabio,

You need both transaction commands. It is not a bug.

The VFP transaction command keeps the VFP *cursors* in synch with what happened in SQL Server. So, if the transaction was rolled back in SQL Server, you should roll it back in VFP as well to let VFP know that the VFP *cursor* has not been updated.


>Hi Hector,
>
>I have read to that article much time ago. Tanks!
>
>I have report this for your information and your comment.
>
>BEGIN TRANSACTION
>is un work around.
>
>If I do not have local data changed, why i have to do BEGIN TRANSACTION
>( it is a semaphore for not exit !).
>
>Moreover, BEGIN TRANSACTION is scoped to datasession, not nominative
>(type BEGIN TRANSACTION transName ),
>then background update, two or more suspend update are impossible on one datasession.
>
>For me this is a big bug.
>
>( IF @@TRANCOUNT>0 ROLLBACK is correct )
>
>Fabio
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform