Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data archtectural conundrum
Message
De
18/10/1999 00:05:39
 
 
À
17/10/1999 18:02:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00277457
Message ID:
00277534
Vues:
23
>That's an intriguing idea. I think I'll try that one. How about this, I have been considering using TRANSACTIONS when the edit starts and either END or ROLLBACK as appropriate when the user hits Apply or Undo. What do you think of that?

Holding a transaction open for the duration of a user wait state is generally frowned upon for several reasons. The most important being that any existing records will be locked for the duration of the transaction, potentially causing contention. There are also several table related operations that will give an error if issued inside of an open transaction. Since windows programs are event driven, it gets messy trying to track what the user is doing to prevent him from trying to do something "illegal" inside the transaction (like click a grid header that automatically indexes by that column on the fly- causing an error).
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform