Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Managing user permissions
Message
 
 
To
14/07/2000 02:24:33
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00392251
Message ID:
00392254
Views:
9
>Hi All,
>
>My problem is that I have to manage somehow different user permissions. I have a table where I store the user rigths per form. The form permissions are working well, if somebody has not permission to open the form, or open in read only mode etc.
>But the problem is that on some forms I have cost fields which I have to hide also in some cases, even if a user has a full (read/write) permission for the form can be that he can not see these special fields.
>Also has to consider reports, I mean if we see the example described above how can I hide these special cost fields?

Different rights on Cost, Reports. What we do is have a flag in its user file. ViewCostFlag, ViewSalesFlag, etc. and then we make use of it in the init event of the control. This.Visible = ViewCostFlag, etc.

>
>Thanks in advance
>
>Ivan
JESS S. BANAGA
Project Leader - SDD division
...shifting from VFP to C#.Net

CHARISMA simply means: "Be more concerned about making others feel good about themselves than you are in making them feel good about you."
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform