I have an unbound combo box that allows the user to select an employee name(requester). When that employee is selected, it updates the next box to show that particular employee's manager's name(owner).
I have the ManagerID as the bound column in the lookup query and the employee's name is supposed to show in the form when it is selected. Instead, after the user selects the employee, the box shows the name of the first employee assigned to that manager. For instance, I click on the combo box and I see a list of employees (that part shows correctly). I chose Sally Sue. As soon as I pick Sally Sue, the text in the box shows Bob Bath, which is the first employee that Sally's manager has in his list in the database.
Here is the biggest kicker... When I check the table that this form updates, Sally Sue is in the correct place. All of my data is in the correct place. The only thing that is wrong is the employee is showing wrong on the form after the user selects the employee. It doesn't affect the accuracy of my data, it's just annoying.
I have my bound column as 1 but I've tried moving it to 2 and making the column width 0 and moving my employee name to the first spot on the query.
Here is the SQL code that shows for my query:
SELECT tbl_Owner.Owner_ID,
tbl_Requester.RequesterName,
tbl_Owner.ownerName
AS RequestOwner
FROM tbl_Owner INNER JOIN tbl_Requester ON
tbl_Owner.Owner_ID =
tbl_Requester.RequestOwner
ORDER BY tbl_Requester.RequesterName;
When the employee name is selected, the form should display the selected employees' name. Instead, it is showing the manager's first assigned employee name.