Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
UpdateUserRoles() clears Data
I have added security to my Employees form to make it easier for my users to handle security (I'm keeping the MM user form for my use). I'm using a MoverControl to let the users select roles. All goes well until they save. When they save, I call UpdateUserRoles() and the data is updated. Unfortunately, this also clears all the tables the mmMoverControl was using. If the user makes another change and hits save again, it crashes because the data tables are gone.
I'm adding a call to refresh the data after I save the data, but I'm suspecting saving data probably shouldn't corrupt the existing data.
Jeff
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