PC Review


Reply
Thread Tools Rate Thread

Logging Login

 
 
Mark Slyder
Guest
Posts: n/a
 
      14th Apr 2008
Does anyone have a good way to capture users logging in and out of an Access
DB using the standard security built in to Access?

Looking to see when users log in to the database as well as who was the last
to log in during a day. Doesn't have to be pretty, just some type of way to
capture the info.

Currently have users logging in through the User Level Security. Thanks.
--
M. Slyder
 
Reply With Quote
 
 
 
 
Rick Brandt
Guest
Posts: n/a
 
      14th Apr 2008
Mark Slyder wrote:
> Does anyone have a good way to capture users logging in and out of an
> Access DB using the standard security built in to Access?
>
> Looking to see when users log in to the database as well as who was
> the last to log in during a day. Doesn't have to be pretty, just
> some type of way to capture the info.
>
> Currently have users logging in through the User Level Security.
> Thanks.


You can write to a log file in the Open event of whatever form you open at
startup or execute some code with the AutoExec macro. Logging out can use
the close event of a form that you keep open all the time. If you have no
such form you can open a small hidden form at startup exclusively for this
purpose.

The "log out" aspect is less reliable because it will only log out when the
file and/or Access is closed normally. If they have an Access freeze-up or
their PC is restarted then you won't get a log out record. The login though
should be pretty solid.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
XP Pro cant type into login boxes after logging out of one accountand trying to login to another Robert M Jones Windows XP Performance 1 26th Mar 2010 09:56 PM
Logging login and out of db =?Utf-8?B?RGFuaWVs?= Microsoft Access 0 11th May 2006 05:21 PM
can't login-keeps logging me back out PK Windows XP Setup 5 9th Oct 2004 03:50 AM
Re: Users can't login after logging out Vera Noest [MVP] Microsoft Windows 2000 Terminal Server Applications 0 24th May 2004 10:52 PM
Logging Every Login Try SX Microsoft Windows 2000 Terminal Server Applications 1 15th Dec 2003 09:53 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:46 PM.