default value to be windowss user initials

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
 
Y

Yanick

Here it is!

Environ$("UserName")

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