Idk exactly what your listbox is called or what employee info displays in said listbox, but maybe you could add an on update event to the employee selection list box and use the following code IF (1) your employee's table is named [employeesTable], (2) your employee listbox is named lstEmployees, (3) your listbox displays lastnames only, (4) your title and department fields are textboxes named txtTitle and txtDepartment, and (5) your department field is equivalent to location?
Code:
dim sql, employeeName as string
dim rstEmployees as recordset
' escape apostrophe's in names like O'Brien or O'Neil
' so the select query doesn't break on those names
employeeName = Replace(lstEmployee.value, "'", "''")
sql = "select * from employeesTable where lastName='" & employeeName & "'"
set rstEmployees = currentdb.open(sql, dbopensnapshot, dbreadonly, dbreadonly)
if not rstEmployees.eof
txtTitle = rstEmployees.field("title")
txtDepartment = rstEmployees.field("location")
end if
P.S. I see your location field is a lookup, so what table is it in and what field (id or lastname?) links/relates to it in the employeesTable?