bobmunkhouse
Technical User
I have a table holding a list of names. There are currently 4 names, and they are each held a number of times.
(e.g. bob, jim, joe, paul, paul, joe, jim, jim, jim)
I need a query to display each name, with the number of times it appears in the table next to it
(e.g.
BOb 1
Jim 4
Joe 2
Paul 2
)
I have tried to achive this with a COUNT query. The problem is, if one name does not appear in the table I need the query to display a 0 next to the name, rather than the name not appearing at all.
Please help.
p.s. if this problem can be achieved using a report instead, that would be fine, thankyou
(e.g. bob, jim, joe, paul, paul, joe, jim, jim, jim)
I need a query to display each name, with the number of times it appears in the table next to it
(e.g.
BOb 1
Jim 4
Joe 2
Paul 2
)
I have tried to achive this with a COUNT query. The problem is, if one name does not appear in the table I need the query to display a 0 next to the name, rather than the name not appearing at all.
Please help.
p.s. if this problem can be achieved using a report instead, that would be fine, thankyou