Originally Posted by
Poohbear0471
Colin,
Do you have additional documentation on your Password Login example? Specifically, how do I set the Access Level of my objects and can I set password rules? Also, do you have a code example off the GetUserName function? I'd like to add User Initials to the Users table and auto populate those initials into a form field.
Following several requests from various users, I'm in the process of creating a 'pro' version of this app with additional features including the items you requested and more.
To offset the development time, there will be a small cost. Suggest you email me if interested using the link in my signature line.
For the GetUserName function, add the following to a standard module.
Code:
Public strUserName As StringFunction GetUserName()GetUserName=strUserName
End Function
Next in your login form, add the following to the login button click event
Code:
strUserName=Me.txtUserName
Finally, add an unbound textbox to the form where you want to display the user name and set its control source to something like
Code:
"Hello " & GetUserName()
HTH