How do I get the windows login/username in a table?
Everytime somebody adds a record to the table I would like to have one of the fields filled with this username.
When user logs on to the network she/he has to supply his username. I want to be able to put this login/username into a table.
I have written a VBA function (Username) to get this login/username.
It is also possible to get this login/username in a textbox on a form.
But I cannot get this data into a table.
Is there a way to use the function (Username) from within a table?
Or
Is there a way to retrieve the value from a textbox on a form and place it in a table?
Or
Is there any other (simple) solution?
Everytime somebody adds a record to the table I would like to have one of the fields filled with this username.
When user logs on to the network she/he has to supply his username. I want to be able to put this login/username into a table.
I have written a VBA function (Username) to get this login/username.
It is also possible to get this login/username in a textbox on a form.
But I cannot get this data into a table.
Is there a way to use the function (Username) from within a table?
Or
Is there a way to retrieve the value from a textbox on a form and place it in a table?
Or
Is there any other (simple) solution?