P
Pecanfan
Hi,
Apologies if this is a bit of a basic question for on here, but I want to
display the current logged on user on a form. I don't want to show the
actual logon name, I want to show the real username.
e.g.
logon name: bloggsj
display name: Joe Bloggs
I *think* I know how to do this with DLookup, but is this the best way of
doing it?
i.e.
=DLookUp("EmployeeName","TBL_Employees","EmployeeLogon"=CurrentUser())
I heard DLookUps are bad...
TIA,
Andy
Apologies if this is a bit of a basic question for on here, but I want to
display the current logged on user on a form. I don't want to show the
actual logon name, I want to show the real username.
e.g.
logon name: bloggsj
display name: Joe Bloggs
I *think* I know how to do this with DLookup, but is this the best way of
doing it?
i.e.
=DLookUp("EmployeeName","TBL_Employees","EmployeeLogon"=CurrentUser())
I heard DLookUps are bad...
TIA,
Andy