I have two tables. The first one holds the Project ID No. which is the primary key, Project Title, etc.
The second table holds the municipality that the project covers. Their relationship is one to many.
There's a probability that there is/are no record/s of municipality encoded for a certain project. I want to create a report, reflecting the no. of municipality covered for each project. Like:
ProjectIDNo. No. of Municipality covered
001-001 2
001-002 0
001-003 0
002-001 3
I used the count function but it only shows the project ID that has records to count (Project ID no. 001-001 and 002-001 only). How about the other 2 Project ID No. with no record? How to reflect zero if there's no record to count?
Thanks a lot in advance.
The second table holds the municipality that the project covers. Their relationship is one to many.
There's a probability that there is/are no record/s of municipality encoded for a certain project. I want to create a report, reflecting the no. of municipality covered for each project. Like:
ProjectIDNo. No. of Municipality covered
001-001 2
001-002 0
001-003 0
002-001 3
I used the count function but it only shows the project ID that has records to count (Project ID no. 001-001 and 002-001 only). How about the other 2 Project ID No. with no record? How to reflect zero if there's no record to count?
Thanks a lot in advance.