Hi,
I have been given to build a database which should have a login form with username and password, upon filling up the correct details a new form should open for e.g. main menu. Now if the logged in person is Admin, all the command buttons will be enabled, but if it user there are specific cmmd buttons which should be disabled.
I have already created the Login form based on the list filled in the table. The problem is I have enabled / disabled the cmd buttons based on the windows login ID which I have mentioned in the module in the Main Menu form. What I want is that it should detect based on the list of persons in the table against which the level is mentioned i.e. if Admin is should enable all the cmmd buttn or if User it should disable certain cmmd btns.
I also want a form where the Admin can given Admin Rights to a new or existing user.
Can anyone Help me on the same.
Thanks in Advance.
I have been given to build a database which should have a login form with username and password, upon filling up the correct details a new form should open for e.g. main menu. Now if the logged in person is Admin, all the command buttons will be enabled, but if it user there are specific cmmd buttons which should be disabled.
I have already created the Login form based on the list filled in the table. The problem is I have enabled / disabled the cmd buttons based on the windows login ID which I have mentioned in the module in the Main Menu form. What I want is that it should detect based on the list of persons in the table against which the level is mentioned i.e. if Admin is should enable all the cmmd buttn or if User it should disable certain cmmd btns.
I also want a form where the Admin can given Admin Rights to a new or existing user.
Can anyone Help me on the same.
Thanks in Advance.
Last edited: