G
Guest
some help guys . I have a project in access 2003 where the users are required
to login using the login form. When using the project I wan't the forms to
reflect the users name on any textbox where a user name is required without
typing it or selecting. The user is automatically assigned on login .Am using
this code but instead its giving me the person using the computer not the one
logged in my software . Any help people Doug or Arvin or anybody else out
there
Public Function GetUser() As String
'return currently logged in user
Dim db As New Application
GetUser = db.CurrentUser
End Function
to login using the login form. When using the project I wan't the forms to
reflect the users name on any textbox where a user name is required without
typing it or selecting. The user is automatically assigned on login .Am using
this code but instead its giving me the person using the computer not the one
logged in my software . Any help people Doug or Arvin or anybody else out
there
Public Function GetUser() As String
'return currently logged in user
Dim db As New Application
GetUser = db.CurrentUser
End Function