Hi,
Sorry, I should of clarified my query a bit more.
The list of departments is generated from another query run against another database and the subsequent recordset returned is used to build the SQL statement to get the count of messages per department. I don't want to create a new table...
Hi
I have 1 table to hold messages for various departments
ID Dept Message
1 Admin Message 1
2 Admin Message 2
3 Tech Message 3
4 Tech Message 4
5 Tech Message 5
6 Mgr Message 6
7 Mgr Message 7
I can get the following result :
Admin 2
Tech 3
Mgr...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.