Results 1 to 2 of 2
  1. #1
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276

    Help Needed Fixing User ID

    I have made a login form which had 5 users


    everytime a user login, the login details are added in a LOGIN DETAIL TABLE
    LOGIN DETAIL TABLE consists of the following fields
    Login Sr
    Login User ID
    Login Date
    Login Time
    Login Date Time

    Now the problem is I want to add the LOGIN USER ID in PURCHASE Table. every time an entry is made by a user. So I know who made that perticular entry.

    can someone help me fix this issue

  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,521
    One way would be to store the logged in user ID on a form that will remain open, and have this as the default value for the field in the Purchase table:

    =Forms!FormName.ControlName
    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. Fixing Table Design
    By bolivartech in forum Database Design
    Replies: 7
    Last Post: 09-29-2010, 07:12 AM
  2. Help needed
    By longbo43 in forum Access
    Replies: 3
    Last Post: 09-27-2010, 10:18 AM
  3. need a little help fixing an SQL error...
    By markjkubicki in forum Queries
    Replies: 3
    Last Post: 08-04-2010, 06:15 AM
  4. Replies: 8
    Last Post: 06-30-2010, 10:57 PM
  5. Help needed...
    By Pazz in forum Access
    Replies: 0
    Last Post: 11-02-2009, 06:59 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