Results 1 to 6 of 6
  1. #1
    ne16428 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2009
    Posts
    3

    Currently logged in user into text box


    Is it possible to move the name of the user currently logged in, into a text box on a form, based on the username of the user? I have a table that has the user names and actual names but I don't how how to move the data.

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    You could use a DLookup() in the TextBox ControlSource.

  3. #3
    ne16428 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2009
    Posts
    3
    How would I actually refer the the logged in user to compare to?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Quote Originally Posted by ne16428 View Post
    How would I actually refer the the logged in user to compare to?
    Care to word that question again? Sorry but it does not make any sense to me.

  5. #5
    ne16428 is offline Novice
    Windows XP Access 2003
    Join Date
    Jun 2009
    Posts
    3
    I have resolved the issue. Thanks for your help.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 10 Access 2013 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Excellent! Thanks for posting back with your success. Is it time to mark this thread as Solved?

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

Similar Threads

  1. How to vertically align text inside a text box ?
    By alexcalgary in forum Forms
    Replies: 2
    Last Post: 10-06-2010, 08:44 AM
  2. Write text to text box on a form
    By DKY in forum Programming
    Replies: 0
    Last Post: 10-08-2008, 11:34 AM
  3. joining text in text boxes
    By jjwilliams73 in forum Forms
    Replies: 1
    Last Post: 08-26-2008, 02:30 PM
  4. Split text field into two text fields
    By Grant in forum Access
    Replies: 6
    Last Post: 01-31-2008, 05:52 AM
  5. Unbound text box truncating text
    By gddrew in forum Forms
    Replies: 0
    Last Post: 03-02-2006, 11:26 AM

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