Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save returning exception if concurrency issue
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Save returning exception if concurrency issue
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP2
Network:
Windows NT
Database:
MS SQL Server
Divers
Thread ID:
01004672
Message ID:
01004672
Vues:
71
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform