I need to concatenate "FirstName" and "Surname" from a table with a lookup on a form, I am stuck on how to use concatenate in the code.
The code I have under the afterUpdate event for the textbox RefStaffN is:
This is only showing the first name in the text box FullName, how do I add the surname so that it shows Name Surname together?
Thanks
The code I have under the afterUpdate event for the textbox RefStaffN is:
Code:
Me.FullName = DLookup("FirstName", "tblEmployee", "StaffN=" & Me!RefStaffN)
This is only showing the first name in the text box FullName, how do I add the surname so that it shows Name Surname together?
Thanks