G
Guest
Hello I want to open a form and enable or disenable the buttons base on what
type of user is login.
I have a login form that goes to two different switchboard forms base on the
type of user (manage or employee). But both switchboard calls on some of the
same form; like my states form. This form has the buttons of Add, Update,
Delete, and so on. The manager would have the right to do all of the
functions but I want the employees to only have the right to just Update. So
if an employee login and opening the states form I want the Add and Delete
button to be disenable and if a manage login all the buttons stay enable.
So I would like to know does anyone know how to design is code because I am
having some problems designing it.
Thank you,
type of user is login.
I have a login form that goes to two different switchboard forms base on the
type of user (manage or employee). But both switchboard calls on some of the
same form; like my states form. This form has the buttons of Add, Update,
Delete, and so on. The manager would have the right to do all of the
functions but I want the employees to only have the right to just Update. So
if an employee login and opening the states form I want the Add and Delete
button to be disenable and if a manage login all the buttons stay enable.
So I would like to know does anyone know how to design is code because I am
having some problems designing it.
Thank you,