Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering vs Begin..End Transaction
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00305569
Message ID:
00353766
Vues:
33
>Nadya,
>
>Process the array laDe to remove the non-buffered alias' first (instead of checking the buffering mode inside the transaction. Then you code would be something like this;
>
>
>* lsDe() already exists
>LOCAL llRollBack
>llRollBack = .F.
>BEGIN TRANSACTION
>FOR x = 1 TO ALEN(laDe,1)
>   IF NOT TableUpdate(1,.F.,laDe(x,#))
>      llRollBack = .T.
>      EXIT
>   ENDIF
>ENDFOR
>IF llRollBack
>   ROLLBACK
>ELSE
>   END TRANSACTION
>ENDIF
>
Great, Jim. Thank you very much.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform