Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Save returning Exception if concurrency issue
Versions des environnements
Network:
Windows 2003 Server
I have a business form that is saving after a concurrency issue and I can't determine if the save was successful. If another user has made a change to the same record, the concurrency messagebox will display. This is expected and works fine for me. If I click Yes to overwrite the current data, the framework calls the save on the business object, but it doesn't capture the mmSaveDataResult of that save. So the result of the Me.Save on the business form is always a mmSaveDataResult.Exception when the concurrency message box is shown and not a mmSaveDataResult.RulesPassed. Is there any way for me to determine if the save was successful if there is a concurrency issue? Thanks!
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