Results 1 to 6 of 6
  1. #1
    b_best is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    19

    Keeping users name on forms

    I have created a job tracking database. When opened the user picks there name from a drop down, enters there password and then they go to a form that shows them in a datasheet all there jobs. There name is at the top of this form. There is a button called "New tasks" when you click this it opens a new form with fields to fill out to put a new task in the system.



    What I am having a hard time with is getting the second form to know who you are. Right now they have to pick there name again from a drop down. I would like this 2nd form to remember who I am from loging in. Any Help?


    Logon -- Form 1 (name is fine) -- Form 2 (does not remember name)

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Rather than closing the Logon form, I would just make it invisible. Then any form can access it for the user information.

  3. #3
    b_best is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    19
    Ok, I do have the logon form stay in the background. I quess my question is, do I need to add code into the 2nd form to make it retreve the information I want?

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Here's a reference for the syntax to fetch values from another loaded form. The form need not be visible, just loaded. http://access.mvps.org/access/forms/frm0031.htm

  5. #5
    b_best is offline Novice
    Windows XP Access 2007
    Join Date
    Jan 2012
    Posts
    19
    looks like that should Help Thank for the information.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    If you need further assistance, just post back here; otherwise you can mark the thread as Solved at the top of the thread under Thread Tools.

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

Similar Threads

  1. Replies: 7
    Last Post: 02-16-2012, 11:00 AM
  2. users only need to see forms.
    By BF15 in forum Security
    Replies: 1
    Last Post: 08-25-2011, 05:25 PM
  3. Multiple users & forms question.
    By Bejo25 in forum Database Design
    Replies: 2
    Last Post: 02-03-2011, 08:26 PM
  4. Splitting DB; Keeping the Forms, Queries, Reports in BE
    By evander in forum Database Design
    Replies: 2
    Last Post: 07-07-2010, 04:59 PM
  5. Replies: 0
    Last Post: 01-19-2007, 07:58 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