>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."