Results 1 to 2 of 2
  1. #1
    buienxg is offline Novice
    Windows XP Access 2000
    Join Date
    Nov 2011
    Posts
    15

    Display user's database or record after login

    Hi there,



    anybody knows how to display the user's record or database after he/she login in on the system. Currently I have a database where in the user enters his username and password. But the I dont know how can I make his records display after login. Any help help would be appreciated.

    Regards,


  2. #2
    Toyman is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2011
    Posts
    233
    Where and how do you want to display the info. Lets say you have a main form that displays for the users to navagate through the db after log on. In the naagation form, you would create a field, lets say, "UserName". So in the code of the log on form, right after the user's access is validated, you would put a line of code to open the navagation form. After which you would put the code:

    Dim sUser as String
    sUser = Me.UserNameField 'this is the field in your log in that has the user's name
    Forms!YourNavagationFormName!UserName = sUser

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

Similar Threads

  1. HELP>Access 2010 User Login Form Code.
    By zaaimanm in forum Programming
    Replies: 5
    Last Post: 10-22-2012, 07:28 PM
  2. Replies: 1
    Last Post: 10-27-2011, 01:31 PM
  3. Replies: 3
    Last Post: 09-22-2011, 03:35 PM
  4. Display user's database or record after login
    By stoey in forum Programming
    Replies: 13
    Last Post: 09-15-2011, 11:18 AM
  5. Login and user levels
    By seanog2001 in forum Forms
    Replies: 0
    Last Post: 10-27-2009, 05:13 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