follow up post:

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

grateful if anyone could help me a little bit. TK kindly gave me the code i
need to get a users login id from the system.. but i dont know where to go
from here?

TK thank you for your reply; but can you give me a little more help...

how do i call the function ?

I wanted a msgbox to open up in advance of the main screen. i assume i need
an autoexec thing that calls the function but dont know where to start...

TK said:
Paul,
I believe this is what you're looking for:
http://www.mvps.org/access/api/api0008.htm

HTH

TK



Expand AllCollapse All
 
Hi, Paul.

You can specify an application or a form to autoload through Tools, Startup.

HTH
Sprinks
 
im happy with how to do that. but what im trying to do is display the login
id of the person who opens the database. TK gave told me how to get the id
from the system but im not sure where to go from here.

do i need to build another form which displays the login id or can i use a
msgbox. no matter which one i choose how do i get the login id from the
fucntion and display it in the msgbox or form?

paul
 
Hi, Paul. Visited TK's link.

Simply create a form with a single textbox, and specify the form in the
Startup dialog. Set the textbox' Control Source to:

=fOSUserName()

HTH
Sprinks
 
Back
Top