Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ODBC in pessimistic mode
Message
De
01/11/1997 12:38:56
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
ODBC in pessimistic mode
Divers
Thread ID:
00057793
Message ID:
00057793
Vues:
93
When using ODBC, is there a way to have the backend act as pessimistic when someone pull a record to edit it? I mean, with direct table access, we use RLOCK() in order to lock the record. For example, when we want to increment the next key using the primary keys table, we apply a RLOCK() for a short instance in order to avoid someone else to change that value while we are changing it. This is what I would like to obtain using ODBC. So far, in all the samples, it seems that we pull a set of data or one record to edit. Then, at save time, we will see if our save is successful. The requirement of one client presently is to use ODBC and apply a lock on the backend in order to make sure that a record is not modified by 2 persons.

What would be a bullet proof mecanism for this case?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform