I am trying to link a text box Employee ID (EMPLID) so that when the user enters the EMPLID the NAME appears in the second text box called NAME. Here is what I have so far...I keep getting runtime errors though...
Code:
Private Sub EMPLID_AfterUpdate() Me!NAME = DLookup("NAME", "PS_PERONSAL_DATA", "EMPLID" = "" & Me!EMPLID.Value & "NAME") End Sub
Comment