Hi,
I am creating a form for a database user to have the ability to go in and set up a new user profile for the database. What I mean is that I will have a table that will have a bunch of names as well as a username and password that corresponds to each of those names that a person will go in and using a form, add themselves to those records so that they can access the secured areas of the database. What I want to happen on this form is the person will enter their first and last name. After they enter their last name and hit tab, the username field will auto-update to their first initial and last name in all lower case letters. For example, if I have a user whose name is John Smith, after tabbing off of the last name field, the username field will update to read jsmith.
I know that to do this I will need a query that will read the first and last name fields, take the data and submit it to the requirements of 1) all lowercase in username, 2) first initial from first name, and 3) entire last name, and then a way for the form to read this query and use it as the source for the corresponding spot in the data table that the form is made for. I have 3 questions related to this: 1) what type of query to use, 2) how to set it up, and 3) how to call the query as the source for the corresponding field in the table. I know I most likely will need an expression somewhere that says LCase(Left([UserFirstName],1) + [UserLastName]) but that is all I understand right now.
I am creating a form for a database user to have the ability to go in and set up a new user profile for the database. What I mean is that I will have a table that will have a bunch of names as well as a username and password that corresponds to each of those names that a person will go in and using a form, add themselves to those records so that they can access the secured areas of the database. What I want to happen on this form is the person will enter their first and last name. After they enter their last name and hit tab, the username field will auto-update to their first initial and last name in all lower case letters. For example, if I have a user whose name is John Smith, after tabbing off of the last name field, the username field will update to read jsmith.
I know that to do this I will need a query that will read the first and last name fields, take the data and submit it to the requirements of 1) all lowercase in username, 2) first initial from first name, and 3) entire last name, and then a way for the form to read this query and use it as the source for the corresponding spot in the data table that the form is made for. I have 3 questions related to this: 1) what type of query to use, 2) how to set it up, and 3) how to call the query as the source for the corresponding field in the table. I know I most likely will need an expression somewhere that says LCase(Left([UserFirstName],1) + [UserLastName]) but that is all I understand right now.