Information générale
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Hi Benoit,
The only trouble with RLOCK is that it is possible (though not probable) that in the milliesecond between your UNLOCK and REQUERY() another user might access the record.
The most reliable way to do what you want (if it absolutely is necessary) is to programmatically try to change the data between the REQUERY() and displaying it to the user and trapping for the "Record is in use by another" error (109). Then you can display the message to your user as you please.
pamela
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement