Ali_Ba_Ba
03-09-2003, 12:32 PM
Hey
Just wondering what would be the best way to do this.
What i have is a program, and i am wanting different people to be able to log in. I have it set up so that there is 4 people in a combo box for logging in. But when the enter the main program, i want some people to have certain restrictions, for example not being allowed access to a certain area (Disabling\graying that command button meni item, or whatever)... but how would i go about this? i can think of a way... by adding lots of If or Select case statements? but that would mean like 4 times the coding would it not? is there an easyier way? and if so, how would i go about it?
Thx in advance.
Ali.
Just wondering what would be the best way to do this.
What i have is a program, and i am wanting different people to be able to log in. I have it set up so that there is 4 people in a combo box for logging in. But when the enter the main program, i want some people to have certain restrictions, for example not being allowed access to a certain area (Disabling\graying that command button meni item, or whatever)... but how would i go about this? i can think of a way... by adding lots of If or Select case statements? but that would mean like 4 times the coding would it not? is there an easyier way? and if so, how would i go about it?
Thx in advance.
Ali.