Results 1 to 9 of 9
  1. #1
    itsmemike is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    8

    login tracking


    I have created a database and password protected it using various users and permissions. Is it possible to keep track of who logged in and what they used.

  2. #2
    NoellaG's Avatar
    NoellaG is offline VIP
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi,

    the classic way to do this is to create a login table with user name and date/time of the login and put a code in the login form that automatically adds a record to this table with each new login.
    Then add to each data table the fields: CreatedBy; CreatedOn; LastUpdatedBy and LastUpdatedOn, and put some code in your forms to automatically fill/update these fields. If you want to track deletions you can either create a "Deleted" table with info about who deleted what from what table at which time, or keep the records in the database and give them a "Deleted" status so they don't appear anymore in the result sets.

    greetings,
    NG

  3. #3
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682
    There are a couple of examples of this in the code repository.

  4. #4
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276
    Are there any samples available?
    If there are could you please guide for the link to download the sample

  5. #5
    pkstormy's Avatar
    pkstormy is offline Access/SQL Server Expert
    Windows XP Access 2003
    Join Date
    Mar 2010
    Location
    Madison
    Posts
    682

  6. #6
    itsmemike is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    8
    Hi
    Thanks for your reply this is exactly what I was looking for.I have downloaded the sample you attached but being new to access at the moment find it difficult to understand how to set it up in my database. Is there any step by step tutorial i could use to help me, or could I import the sample into the database and use it.
    Again thanks for your help and any further help you can give me would be appreciated.
    Thanks and regards
    Mike

  7. #7
    itsmemike is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    8

    Not sure what I have done can you help?

    Hi
    Not sure what I have done can you help?
    Downloaded a sample named "QueryWithAForm" which I got from one of your links. I hoped this would help me create my Login tracking part of my DataBase. When I opened the query it gave my name as logged in and the date/time. Not sure how this got linked to my Database but it worked so OK I would try it. However when I logged on as someone else it still gave my name.
    This all happened by me just playing around but now I,m curious to how it worked and how to change it to show correct username.
    Regards mike

  8. #8
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276
    Mike
    which sample data base have you downloaded.
    Can you please provide the link

  9. #9
    itsmemike is offline Novice
    Windows XP Access 2007
    Join Date
    Aug 2010
    Posts
    8
    https://www.accessforums.net/code-repository/
    this is the link I went to, it has loads of samples

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

Similar Threads

  1. Inventory Tracking
    By PUDrummer in forum Access
    Replies: 3
    Last Post: 10-10-2012, 05:42 AM
  2. Tracking End of Month Data
    By spherearrow in forum Database Design
    Replies: 5
    Last Post: 09-13-2010, 10:55 AM
  3. Making report for tracking production
    By winniepoohbear38501 in forum Reports
    Replies: 1
    Last Post: 01-28-2010, 09:06 PM
  4. help with tracking within a database
    By martyn in forum Queries
    Replies: 0
    Last Post: 10-07-2009, 02:15 PM
  5. tracking
    By mugziegumz in forum Access
    Replies: 0
    Last Post: 11-20-2008, 10:11 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