A family of Microsoft relational database management systems designed for ease of use.
You cannot call the DCount function against your current query. You can either:
1. Use the function I posted, which passes the parameter to the querydef object.
2. Change the parameter in your query to a reference to a control on an open form and call the DCount function without a criterion:
=DCount("*","[Action_Query_1]")
3. Create a copy of the query under a new name and remove the parameter. Then call the DCount function with a criterion:
=DCount("*","[Action_Query_1_Without_Param]","[Department]=""" & [Department] & """")