how do I get the user name on acess 2010 ?
This or the Environ() function: http://access.mvps.org/access/api/api0008.htm
Paul (wino moderator) MS Access MVP 2007-2019 www.BaldyWeb.com
Originally Posted by earl how do I get the user name on acess 2010 ? Thanks for answer , I use the fOSUserName code on my old database , but I get error at ( String$ ) for this line > strUserName = String$(254, 0)
I didn't notice you had 64 bit. Try the Environ() function with the appropriate argument.
Forum Rules