Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Security Combobox question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00521975
Message ID:
00528100
Vues:
23
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,
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform