Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
My app may be upsized one day. Should I use pessimistic
Message
De
22/11/2000 08:29:12
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00444072
Message ID:
00444554
Vues:
7
Thanks Jim


>Use optimistic as it will force you to address the issues related to it. There is no such thing as pessimistic when using a backend server.


The issue I am trying to address at the moment is how to delete an invoice from the SQL server.

If user1 deletes the record but user2 already has a copy of that record in their buffer then the record will be saved again when user2 commits the changes.

I presume that I have to write code that notices this is what has happened and tells user2 that another user deleted the existing record.

Am I right about this
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform