Hi,
I'm trying to create a very "mild" security startup form. The form consists only of Username and Password fields, with Submit and Exit command buttons.
What I'm trying to do is have the Username be the first initial & last name of a user, and the password to be the last 6 digits of a user number, both items being entered by a user.
What I would like have happen when the Submit button is clicked, is that the employees tables is searched for the user's last name and concantenated with the first initial of the first name, and the last 6 numbers of the user number are checked and if they exist, to select a form for the user, depending on their position/rank. There are only 3 choices at this point, I never expect to have more than 5.
I know there is the built-in security of Access, but this is what I need now. Can anyone guide me down the yellow brick road?
TIA!
I'm trying to create a very "mild" security startup form. The form consists only of Username and Password fields, with Submit and Exit command buttons.
What I'm trying to do is have the Username be the first initial & last name of a user, and the password to be the last 6 digits of a user number, both items being entered by a user.
What I would like have happen when the Submit button is clicked, is that the employees tables is searched for the user's last name and concantenated with the first initial of the first name, and the last 6 numbers of the user number are checked and if they exist, to select a form for the user, depending on their position/rank. There are only 3 choices at this point, I never expect to have more than 5.
I know there is the built-in security of Access, but this is what I need now. Can anyone guide me down the yellow brick road?
TIA!