default value to be windowss user initials

  • Thread starter Thread starter Mark Kubicki
  • Start date Start date
M

Mark Kubicki

what is the code to set a field value to the logged in user's initials?
(the one I'm looking for is something stored in MS windows as part of the
user's account -I think; not one associated with Access)

thanks in advance,
mark
 
Here it is!

Environ$("UserName")

This command will return a string containing the Windows username.
 
Back
Top