Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: surinder singh
  Where is surinder singh?
 Hyderabad/New Delhi/Kangra
 India
 surinder singh
 To: Prasant T
  Where is Prasant T?
 Thrissur, Kerala
 India
 Prasant T
 Tags
Subject: RE: Deny Access in some Menu items
Thread ID: 200698 Message ID: 200699 # Views: 66 # Ratings: 0
Version: Visual FoxPro 9 Category: Menus
Date: Wednesday, October 29, 2008 1:52:52 PM         
   


> 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

put some procedure in SKIP FOR
like
skip for not checkRights()

and return .t. or .f. based on the rights to logged in user from
checkRights procedure.

-----------------------------------------------------------------------------------------------
Regards
Surinder Singh
Email: sur200@indiatimes.com
Check my blog for details: http://weblogs.foxite.com/sur200
----------------------------------------------------------------------------------------
*Everything is possible but everything is not required to be happy..



COMPLETE THREAD
Deny Access in some Menu items Posted by Prasant T @ 10/29/2008 1:49:34 PM
RE: Deny Access in some Menu items Posted by surinder singh @ 10/29/2008 1:52:52 PM
RE: Deny Access in some Menu items Posted by tushar @ 10/29/2008 1:54:31 PM
RE: Deny Access in some Menu items Posted by Benny Thomas @ 10/31/2008 10:04:30 AM
RE: Deny Access in some Menu items Posted by tushar @ 10/31/2008 11:41:06 AM
RE: Deny Access in some Menu items Posted by Yousfi Benameur @ 10/29/2008 2:09:58 PM
RE: Deny Access in some Menu items Posted by Jun Tangunan @ 10/30/2008 7:13:05 AM
RE: Deny Access in some Menu items Posted by Rafael Escambion @ 10/30/2008 7:47:23 AM
RE: Deny Access in some Menu items Posted by Stefan Wuebbe @ 10/30/2008 6:41:11 PM
RE: Deny Access in some Menu items Posted by Glenn Villar @ 10/31/2008 2:03:23 AM
RE: Deny Access in some Menu items Posted by Stefan Wuebbe @ 10/31/2008 8:54:37 AM
RE: Deny Access in some Menu items Posted by Marcia Akins @ 11/1/2008 12:40:31 PM
RE: Deny Access in some Menu items Posted by Prasant T @ 11/3/2008 8:21:35 AM
RE: Deny Access in some Menu items Posted by Biju Thomas @ 12/3/2008 4:38:27 AM