In my database I have a form (frmHandover) which is bound to a table. This form has text box fields including a field for EmployeeNo. I also have an unbound text box on this form into which I want to have the employees name etc added, depending on what is in the employeeNo field.
The employee details are entered onto a different form based on a different table. When the frmHandover is opened, it should show the employeeNo in its own text box, with the rank, firstname and surname concatenated in the unbound text box.
I am trying to populate the unbound field so I end up with the employee's number, rank and name concatenated.
I think I need to use DLookup, but am totally confused about using it. The fields I have for the table containing the employee details are as follows:
EmployeeNo
Rank
FirstName
Surname
Can anyone assist?
The employee details are entered onto a different form based on a different table. When the frmHandover is opened, it should show the employeeNo in its own text box, with the rank, firstname and surname concatenated in the unbound text box.
I am trying to populate the unbound field so I end up with the employee's number, rank and name concatenated.
I think I need to use DLookup, but am totally confused about using it. The fields I have for the table containing the employee details are as follows:
EmployeeNo
Rank
FirstName
Surname
Can anyone assist?