Information générale
Titre:
Pessimistic buffering problem!
I have a formset in which one of the forms' load method has the following code:
SET EXCLUS OFF
SET REPROC TO AUTOMATIC
ON ERROR DO ERRORFIX WITH ERROR(),MESSAGE()
The formset is set to pessimistic buffering.
When two users try to edit the same record through a data entry screen from the same form, the message "Record is locked - ESC to cancel locking" is displayed. When ESC is pressed, an error message called in errorfix is displayed, then the main application object is released and the program exits. I don't want this to happen. My intent is to clear the lock attempt and keep the form opened.
Suivant
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