Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Security Combobox question
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00521975
Message ID:
00528100
Views:
22
We haven't found the solution to the problem yet, but we have found where the problem occurs. In csecurityrulesbase.setcontrolaccess(), if you are going from full to no access, a record is added to mmcntrls and the iid is updated in the id table. Then if you return to full, that record is located and then deleted. The LOCATE is incrementing the iid and causing the "Another user error".

We think it's because we are deleting a record that hasn't been saved.

This also occurs in the sample app.

The ice cream is melting!

>Randy,
>
>>We are adding the security stuff to our app and we ran into a problem. We default to new users having full access. On the groups form, when we change one of the controls to Read Only or None, everything is fine. Then, if we leave that record and come back to it and change the listbox back to Full, we get "Another user has changed this data. Do you wish to overwrite ?" If we say yes, it still doesn't change it. It only happens when we go back to Full. What's up with that?>
>
>Have you figured this one out yet? If not, does this work properly in the sample application?
>
>Regards,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform