okay, here are my results.
when my form loads I use the following to populate a textbox:
Code:
Private Sub Form_Load()
Me.Text35 = Environ("UserName")
End Sub
which gives me the active windows user.
I have tried to following to get the proper name to no avail:
Code:
Private Sub Form_Load()
Me.Text35 = Environ("UserName")
Me.Text49 = DLookUp([DisplayName],[tblActiveUser],[Criteria]=[Me].[Text35].[Value])
End Sub
It didn't like that so I tried the following in the control source:
=DLookUp([DisplayName],[tblActiveUser],[Criteria]=[Me].[Text35].[Value])
and
=DLookUp([DisplayName],[tblActiveUser],[Criteria]=Environ("UserName"))
to which I get a #Name? error