Hi, can anyone help
I use the code =Environ("username") provided by people on this forum to return the username of te person logged into the database. This works fine but...
Wouldit be possible to create a function using this code to return the users real name.
I have a table T_Staff with fields S_Name and S_Username
The username field stores the same username as that returned by the code.
I was thinking that if it could be done as a function i could reference that function in the forms i use. e.g =realname()
Thanks for taking time to read my request.
Regards
Pete
I use the code =Environ("username") provided by people on this forum to return the username of te person logged into the database. This works fine but...
Wouldit be possible to create a function using this code to return the users real name.
I have a table T_Staff with fields S_Name and S_Username
The username field stores the same username as that returned by the code.
I was thinking that if it could be done as a function i could reference that function in the forms i use. e.g =realname()
Thanks for taking time to read my request.
Regards
Pete