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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top