G
Guest
Can anyone tell me the easiest way to get a username from the currently
signed on user and populate a field on a form or in a table?
signed on user and populate a field on a form or in a table?
Douglas J. Steele said:I always cringe when people suggest using an environment variable for this
purpose, given how easy it is to reset an environment variable.
Far safer, in my opinion, is to use the GetUserName API call. See
http://www.mvps.org/access/api/api0008.htm at "The Access Web" for a
complete sample.