Re: Current users in database
From: MacDermott (macdermott_at_NoSpam.com)
Date: 09/05/04
- Next message: MacDermott: "Re: Properties Dialog Box"
- Previous message: Terry: "RE: create hyperlink from predefined string+number field"
- In reply to: Terry: "Re: Current users in database"
- Next in thread: Terry: "Re: Current users in database"
- Reply: Terry: "Re: Current users in database"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 5 Sep 2004 19:45:56 -0400
What version of Access are you using?
What sort of action are you contemplating to log users out?
Simply disconnecting them could easily lead to database corruption.
I've seen a neat little programming trick where the database is programmed
to check a separate file on start-up. The DBA can alter that file to either
permit or prohibit further logons.
HTH
- Turtle
"Terry" <Terry@discussions.microsoft.com> wrote in message
news:F606202A-C602-4B55-B6A2-042807F57368@microsoft.com...
> It does not provide enough information. I would like to report the name &
> computer of the logged on database user so action can be taken to log the
> users out. I believe it is also possible to lock the database from
additional
> users.
>
> "MacDermott" wrote:
>
> > How about checking for the existence of an LDB file?
> > Of course this won't exist if someone else has the database opened
> > exclusively, but then you'd get a trappable error, wouldn't you?
> >
> > - Turtle
> >
> > "Terry" <Terry@discussions.microsoft.com> wrote in message
> > news:6FB6C93B-D030-4350-9632-FF4A956C9514@microsoft.com...
> > > If this is not the correct forum please advise.
> > > I want to check whether it is possible to open a database exclusively
by
> > > checking which users currently have the database open. There appears
to be
> > > some code for A97 using MSLDBUSR.DLL but this DLL does not appear to
> > register
> > > under Windows XP.
> > > Another solution checks the current users for the current database
using
> > the
> > > GUID but I want to check another, user selected, database.
> > > Can anyone put me on track for a solution to this problem please?
> > > Terry
> >
> >
> >
- Next message: MacDermott: "Re: Properties Dialog Box"
- Previous message: Terry: "RE: create hyperlink from predefined string+number field"
- In reply to: Terry: "Re: Current users in database"
- Next in thread: Terry: "Re: Current users in database"
- Reply: Terry: "Re: Current users in database"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|