General information
Category:
The Mere Mortals .NET Framework
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only