G
Guest
I am trying to generate a query or report that gives me a list of States, the
cities therein, and the zip codes within each city, that we serve.
I built a simple query putting each of these fields in ascending sort, but I
am getting duplications where there are multiple records for each city and
zip code.
I only want one record reported for each. That is, I expected to get more
than one city for some states, and more than one zip code for some cities.
What I don't want, is that if there are 25 records listed for the same zip
code within the same city and state, is to see all 25 listed. If there are
10 zip codes for Anytown, GP, and say that within the first zip code there
are 3 records, the second zip code contains four records, and the third zip
code contains 3 records, I just want to see each City, State and Zip Code
ONCE (giving me three records for the query or report, not 10). Am I stating
this clearly?
Thanks in advance.
cities therein, and the zip codes within each city, that we serve.
I built a simple query putting each of these fields in ascending sort, but I
am getting duplications where there are multiple records for each city and
zip code.
I only want one record reported for each. That is, I expected to get more
than one city for some states, and more than one zip code for some cities.
What I don't want, is that if there are 25 records listed for the same zip
code within the same city and state, is to see all 25 listed. If there are
10 zip codes for Anytown, GP, and say that within the first zip code there
are 3 records, the second zip code contains four records, and the third zip
code contains 3 records, I just want to see each City, State and Zip Code
ONCE (giving me three records for the query or report, not 10). Am I stating
this clearly?
Thanks in advance.