> Hi,
>
> I have developed a Menu using create menu. It is working fine. I want to block some users from accessing some items of menu.
>
> for example:
>
> Main Menu
> .....Pay Roll
> ..........Employee Master
> ..........Salary Preparation
> ..........Bonus Calculation
> ..........Attendance Entry
> ..........------------------
> ------
>
> There are two users. Admin & User. I want to block Bonus calculation to User. Is there any way? How I can use SKIP FOR in this condition?
>
>
> Prasant
In the main PRG, declare a public variable.
Public pRights
Now in your LOG IN form, assign a value to it accordingly.
pRights = UserTable.URights && can be logical or numeric
In your menu, you can use Skip For pRights = [logical or numeric]