Re: Get User ID

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Reggie (NoSpamreggie_at_NoSpamsmittysinet.com)
Date: 07/20/04


Date: Tue, 20 Jul 2004 02:55:02 -0700

Nick, Here's a good place to start
http://www.mvps.org/access/general/gen0034.htm

-- 
Reggie
----------
"Rick B" <anonymous@discussions.microsoft.com> wrote in message
news:eOYzOdZbEHA.1048@tk2msftngp13.phx.gbl...
> You would have to store the information somewhere.  The best way is to
> create a hidden form that opens when the front-end is opened.  In the
form's
> open event, write code that stores the UserID (and date and time) to a
> table.
>
> On the form's close event, delete the record from the table, or update it
to
> include a time and date logged off.
>
> This will work pretty well, but if Access crashes, the power goes off,
etc.
> then the table will not be accurate and you will have to fix it.  I gues
you
> could make your open code look for any bad records for the user in the
table
> and delete them?
>
> Rick B
>
>
>
>
> "Nick" <anonymous@discussions.microsoft.com> wrote in message
> news:2fe2101c46d7c$f52a7830$a301280a@phx.gbl...
> I am wanting to have a field in my database that displays
> a list of the current users on the database. I am
> strugling to write this code.
>
> Cheers
>
> Nick
>
>


Relevant Pages

  • Re: BDS 2007 ETA? - Software Assurance gets a no vote here
    ... I'd think equally poorly of the rep of any company camping on the store front of a competitor. ... Nick is here practically begging everyday for actionable QC's, for everyone to complete the Delph survey, etc. ... But Nick and I do share some military leadership training that enjoins us to praise publicly, and censor in private. ... For all that we're supposed to be giving CodeGear time to prove themselves, I've experienced too much blind optimism here, with past promises that it'll be better, and the current behavior feels like much of the same. ...
    (borland.public.delphi.non-technical)
  • Re: Double-click to bring up Form at Record location
    ... Nick, I also use the interface you describe, and find that users love it, ... Write a procedure that opens the target form, ... so that this does not foul up requerying the combo later. ... the time you are designing these forms you don't know what dependencies will ...
    (microsoft.public.access.formscoding)
  • Re: Double-click to bring up Form at Record location
    ... Nick, I also use the interface you describe, and find that users love it, ... Write a procedure that opens the target form, ... so that this does not foul up requerying the combo later. ... the time you are designing these forms you don't know what dependencies will ...
    (microsoft.public.access.forms)
  • Re: Another lousy Borland experience
    ... Rick actually wrote: "There's a lot to improve with the BDN website...", ... "Nick, you are truly a nice guy and a good Delphi soul. ... Or do you just want to rant? ... If you want DevCo to suck like Borland now does, ...
    (borland.public.delphi.non-technical)
  • Re: Storing password in machine.config
    ... Hi Nick ... OR if you wish to include a script sample in your post please add "Use of ... > The suggested way seems to be to create a mirrored ASPNET user on the ... > This works fine but means I have to store the new password of the ASPNET ...
    (microsoft.public.dotnet.framework.aspnet.security)