Results 1 to 3 of 3
  1. #1
    Paintballlovr is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2013
    Posts
    96

    looking for database to identify connected users


    It has been quite a while, but I think I got the database I'm looking for from someone on here. It might have been called "current users", but I can't recall. Does this sound familiar to anyone/does anyone have a utility to view active connections to a database? The database I lost allowed you to point to a database on the network and when you clicked the results button, it gave you a listing of the computers connected. It was nice in the fact that I didn't have to build something in each database and the user interface was clean.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    50,339
    Possibly all that db did was to look for the laccdb file of the specified db and read its contents. The laccdb is a text file that can be opened in a text editor. It lists users by their Windows username. If the db is split design, the backend laccdb lists any user with an object open that is pulling data from any table of the backend. Once user closes object(s) they are removed from the backend laccdb list, even though they still have their frontend copy open. What I do for split db is have code in frontend that updates info in Users table when they open and close their frontend. I just view the table to determine who is running their frontend and might therefore have an active connection to the backend.

    If the db is split and the backend is SQLServer, Oracle, MySQL, etc. I have no idea how to determine connected users.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Paintballlovr is offline Advanced Beginner
    Windows 7 32bit Access 2007
    Join Date
    Jul 2013
    Posts
    96
    That would work, but I'm hoping to avoid having to build something in each database. Thank you for the idea and if it comes down to it, I'll have to go that route.

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

Similar Threads

  1. Replies: 2
    Last Post: 11-10-2016, 11:20 PM
  2. Replies: 8
    Last Post: 05-31-2016, 01:39 PM
  3. Replies: 4
    Last Post: 01-30-2014, 12:18 PM
  4. How to use database when not connected to network?
    By justhininabouti in forum Database Design
    Replies: 5
    Last Post: 03-21-2012, 02:49 PM
  5. Replies: 4
    Last Post: 12-19-2011, 12:16 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