Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Disabling Menus


Message #1 by "enzo" <enzaux@g...> on Fri, 19 Apr 2002 06:24:28 +0800
This is a multi-part message in MIME format.

------=_NextPart_000_0103_01C1E76A.DC0EED80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

How could I disable menus?  I want to do this because I want to use this 
to disable all the menus accornding to type of user that is logging in.

Thanks,

Enzo




Message #2 by "Darron Michael" <darron.michael@h...> on Fri, 19 Apr 2002 22:12:46
Enzo,

Create a table of users with their names and "Levels" such as Admin, 
Basic, or Tech.

Search this listserv's archive for the sgetuser function.  If you can't 
find it, email me.

Use sgetuser to identify who they are, compare with the users table to 
determine their level of access.  

Set menu options to be disabled by default.  Use the "On activate" 
property to enable menu options for users based on their "Group"

Hope this helps.

Darron

How could I disable menus?  I want to do this because I want to use this 
to disable all the menus accornding to type of user that is logging in.

Thanks,

Enzo

Message #3 by "enzo" <enzaux@g...> on Sun, 21 Apr 2002 02:30:35 +0800
    I  have already that "level" field  (its like 1,2,3,4)  Ill illustrate
to you what I hope I wanted to do:

Under the MAINTENANCE menu ihave this follow ing submenus:
--> Teller Info
-->Dumping
-->Inquiry

How would I do that if the user level is 3 the submenu "Teller Info" would
be disabled.

Thanks,

Enzo


----- Original Message -----
From: Darron Michael <darron.michael@h...>
To: Access <access@p...>
Sent: Friday, April 19, 2002 10:12 PM
Subject: [access] Re: Disabling Menus


> Enzo,
>
> Create a table of users with their names and "Levels" such as Admin,
> Basic, or Tech.
>
> Search this listserv's archive for the sgetuser function.  If you can't
> find it, email me.
>
> Use sgetuser to identify who they are, compare with the users table to
> determine their level of access.
>
> Set menu options to be disabled by default.  Use the "On activate"
> property to enable menu options for users based on their "Group"
>
> Hope this helps.
>
> Darron
>
> How could I disable menus?  I want to do this because I want to use this 
> to disable all the menus accornding to type of user that is logging in.
>
> Thanks,
>
> Enzo
>




  Return to Index