Results 1 to 4 of 4
  1. #1
    earl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    5

    access 2010 question

    how do I get the user name on acess 2010 ?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    This or the Environ() function:

    http://access.mvps.org/access/api/api0008.htm
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    earl is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2013
    Posts
    5

    get error on 2010 access with fOSUserName

    Quote Originally Posted by earl View Post
    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)

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,640
    I didn't notice you had 64 bit. Try the Environ() function with the appropriate argument.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Access 2010 Delete Query Question
    By scheibla in forum Queries
    Replies: 3
    Last Post: 05-01-2012, 08:34 PM
  2. Replies: 6
    Last Post: 02-24-2012, 01:57 PM
  3. Replies: 1
    Last Post: 11-21-2011, 08:39 PM
  4. access 2010 vba question
    By jscriptor09 in forum Access
    Replies: 1
    Last Post: 08-26-2011, 06:57 AM
  5. ACCESS 2010 vba question
    By jscriptor09 in forum Access
    Replies: 1
    Last Post: 07-26-2011, 03:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums