So I have modified the basic user level login script to fit my database and have come to a problem that i need help solving. What i currently have is a user password and access level in my employee information table. When they login it checks the password and then logs the user and the access level in a hidden form. This then is used to restrict or permit access throughout the database.
My problem with the code is twofold. One... if the user is smart enough to right-click the hidden form and close it the code blows up upon attempting to find the access level. "Run-time error2450" which basically states that when it ran the macro it couldnt find the required information.
The second problem that i run into is more of a basic restriction question. When restricting access what is the difference between an Add-Only and an Administrative property? I understand that read only doesnt allow any changes to the database but would an Add-Only user be restricted to opening any form that he or she desired? and how might that be achieved?
I appreciate your time as this question might be poorly worded and has a lack of code for purposes of not wanting to paste my entire database up here.
My problem with the code is twofold. One... if the user is smart enough to right-click the hidden form and close it the code blows up upon attempting to find the access level. "Run-time error2450" which basically states that when it ran the macro it couldnt find the required information.
The second problem that i run into is more of a basic restriction question. When restricting access what is the difference between an Add-Only and an Administrative property? I understand that read only doesnt allow any changes to the database but would an Add-Only user be restricted to opening any form that he or she desired? and how might that be achieved?
I appreciate your time as this question might be poorly worded and has a lack of code for purposes of not wanting to paste my entire database up here.