×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Handling of Menu

Handling of Menu

Handling of Menu

(OP)
HI! I'm a programmer which was assigned to work on a program
regarding an Information System. I have a problem regarding handling of menus. The enabling of menu depends on the codes via access on passwords. There are different levels on the access and some of its access requires disabling of menus upon initialisation or some of the pads. I have browsed on some resources but it can't find something that discusses menu in a more detailed way. By the way I am using a menu builder to create a menu. Your help will mean a lot! More Power!

RE: Handling of Menu

There are several ways to do this. One of the simplest is to have a "Security" code for each level of security. Each person allowed access is assigned a security level in a table. Each time they need to access a menu you look at their security code and call the menu based on the security level. This is fairly easy to do, first you set up a full access menu. Then copy the menu with a new name (Full Menul, menu-2, menu-3, etc..for each level of security and delete out the items that security level cannot access.

For example, if the security code for each person is stored in table Associate, field name Security and you have accessed their record:
do CASE
          CASE Associate.Security = 1
                   Do Menu Fullmenu
          CASE Associate.Security = 2
                   Do Menu Menu-2
ETC...

Hope this helps
The Old Dude

RE: Handling of Menu

(OP)
Thanks Old Dude. It help me a lot. Is it possible to only disable the pad? More Power!

RE: Handling of Menu

Have you tried manipulating the "Skip for" options in the menu builder? You can disable menu items and menu pads with this (you can use the access level as the expression to evaluate) without bothering to design different menus for different levels of users.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close