Fantastic (How can this be done?)

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

Guest

Some ne on our network (a domained one) created a ms access application that has a form opening at start up
On that form there is a field that dispalys the windows user id on it. For instance if you log on to the domain as newguy then when you open that database you see, welcome newguy on the form

It actually doesn't prompt you for a username or password, but it greets you with your network id
How can i do that?
 
See The Access Web article:

http://www.mvps.org/access/api/api0008.htm

on how to get the network UserID / LogOnID.

--
HTH
Van T. Dinh
MVP (Access)




Pango said:
Some ne on our network (a domained one) created a ms access application
that has a form opening at start up.
On that form there is a field that dispalys the windows user id on it. For
instance if you log on to the domain as newguy then when you open that
database you see, welcome newguy on the form.
 
Suppose that I have a text box on a form and the textbox name is userid
what should be the code behind it?
 
If you are referring to the code at the Access Web link provided to you by
Doug Steele in your earlier post, put the following in the ControlSource
property of your textbox:

=fOSUserName

Hint: When you need to ask a follow-up question to a post, ask in the same
thread as that post.
 
Back
Top