Hello, I built a database for tracking absences and tardies that multiple depts use in our company.
The request was made to add a department filter, which I am doing and almost done, but i'm running in to a problem. On the opening page, there is a report section that originally had 2 drop downs (Select Coworker, Select Report). Then a button that runs the selected report with the Coworker as the criteria. This worked great.
Now I am adding the department level, so you would first select department name, and it would limit the results of the Coworker drop down to those only belonging in the department. I did this on another form (absence entry form) and it works great....but not here. When I select the drop down for the Department, it lists the Auto-Number and not the Department name like it should.
SQL query:
Attached its the DB
The request was made to add a department filter, which I am doing and almost done, but i'm running in to a problem. On the opening page, there is a report section that originally had 2 drop downs (Select Coworker, Select Report). Then a button that runs the selected report with the Coworker as the criteria. This worked great.
Now I am adding the department level, so you would first select department name, and it would limit the results of the Coworker drop down to those only belonging in the department. I did this on another form (absence entry form) and it works great....but not here. When I select the drop down for the Department, it lists the Auto-Number and not the Department name like it should.
SQL query:
SELECT Departments.[ID2], [Departments].[DepartmentName] FROM Departments ORDER BY [DepartmentName];
Even if I take out the ID2 from the select, it still shows the numbers and not the names. Any thoughts??
Attached its the DB