I am struggling with a report I am working on.. well three technically. I have 3 departments where I work, all of them log employee errors monthly and at the end of the month we ship those reports. My report is fairly simple, it has the "error name" then the "amount of times it happened"(count) and the list of employees that were marked for that error using concatrelated().
All of the reports go to one database and a query filters the text boxes on the report to divide the departments all fields work accept the concatrelated, it does what it's supposed to and shows all the employees that received that error but it shows them from all departments. As of now the departments are separated because I told the query that so and so's name is in this department, however the concat related is not part of the query it is built into the text box... is there a way to specify within my concatrelated(), to show only employees conditioned by that department.
=ConcatRelated("[condname]","reports","[cond] = '" & [cond] & "'") is my statement so it pulls all of the employees hit for that condition
condname=employee conditioned
cond= error name
is there a way to maybe simply add a Where clause and type in the names of the employees one at a time? I don't mind annoying work to make this work.