If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Who is logged in?
I am looking to identify who is currently logged onto the LAN but instead of
returning their login ID I want to pull their name from a table. Here is what I have; tblEMPLOYEE EmployID (Number) EmployName (Text) EmployLogIn (Text) I have a form that when it opens it will pull the End-Users LAN ID but I want it to go to the Employee Table and enter in the employee's name instead of the LAN ID. Example: LAN ID = brownj. When is entered into the form is "James Brown". Thank you. |
#2
|
|||
|
|||
Who is logged in?
Set the control source of a text box on your form to
=DLookup("EmployName","tblEMPLOYEE","EmployLogIn = '" & Me.[LAN ID] & "'") "Timothy Millar" wrote: I am looking to identify who is currently logged onto the LAN but instead of returning their login ID I want to pull their name from a table. Here is what I have; tblEMPLOYEE EmployID (Number) EmployName (Text) EmployLogIn (Text) I have a form that when it opens it will pull the End-Users LAN ID but I want it to go to the Employee Table and enter in the employee's name instead of the LAN ID. Example: LAN ID = brownj. When is entered into the form is "James Brown". Thank you. |
Thread Tools | |
Display Modes | |
|
|