Re: Locked database



I don't think it's possible.

Access is going to complain about the fact that the second person can't get
in properly before you'll have a chance to.

And there's no easy way to determine the ID of other users in the database,
just their computer name.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Erik" <Erik@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:9D6F55D6-5126-484F-9FF0-752CC542336E@xxxxxxxxxxxxxxxx
I have a database that i have open exclusive and when one person opens it
and
another wants to open it i would like to show a msgbox that tells that
person
that
that it is locked by this user.
"DCPan" wrote:

No sure what you are asking exactly.

Here's code that would grab who's logged in:
http://www.mvps.org/access/api/api0008.htm

But, if you want to know who's locking the database up while you are
trying
to use it, that's different.

"Erik" wrote:

I would like to know if there is a way to have a msgbox open up when
you open
a locked database and display the windows login name? Thanks for any
help you
can give.


.



Relevant Pages

  • Re: Budapest defence
    ... I checked a database of 3.6 million games using the free chess database ChessDB and find the following number of occurrences, ... indicating there is a 50.7% probability that the same or smaller difference occurs by chance. ... 'Experts Exchange' take questions posted on the web and try to find ...
    (rec.games.chess.analysis)
  • Re: Math.random() algorithm
    ... I just find it odd that a society would think that random numbers, that have a probability of repeating - no matter how small that chance - is better than a system where the chance of repeating a number is impossible. ... If you want a 16 digit patient ID, you create a database with those ID'es. ...
    (comp.lang.javascript)
  • Re: OT: SQL & Dave
    ... thing your woman would complain about would be your database of the ... when where why and how relating to your sex life together. ...
    (alt.fan.letterman)
  • Re: GATSO 2: The revenge of GATSO.Pt2 - LONG
    ... >>> Can you offer an alternative solution that stands some chance of ... >>> course that any database should be up to date and accurate. ... I am shocked Mark imagines there could be. ...
    (uk.rec.driving)
  • Re: OT: SQL & Dave
    ... thing your woman would complain about would be your database of the ... when where why and how relating to your sex life together. ...
    (alt.fan.letterman)