Crystal Reports Online Training

Learn Online, Anytime, Anywhere

Step-by-step online tutorials.

14.15 All Maps are not Created Equal

All Maps are not Created Equal

One thing that might cause you problems when you start changing the map view is that not all maps are created equal. What I mean by this is that not all maps have the same level of detail in them. Picking maps that are larger in scope (e.g. the whole world) gives you a macro view of the data. Picking smaller maps (e.g. just the U.S.) gives you detail on a smaller scale. For example, if you choose the World map, then you will only see your data displayed by country. If you try to display the data about the cities within each country, then Crystal Reports won’t know how to map the information. In fact, if you go to the Resolve Map Mismatch dialog box, you’ll see that all the cities are unmatched and Crystal Reports doesn’t know what to do with them. Now, if you decide to change the map to the U.S., then all the cities will map fine. Since this covers a smaller geographic area than the world map, you get more finite mapping. You have to be cautious when choosing the map to display and test it out to make sure it is appropriate for what you want to show.

Since each map has a different scope, there are circumstances where you might see Crystal Reports displaying summary values based on country when you wanted to see it by city. Again, this is because the map scale is too large and it doesn’t even have city information available to know how to map it.

If it seems like Crystal Reports is ignoring a lot of the data, or it is summarizing incorrectly, then go to the Resolve Map Mismatch dialog box and see if the data you want to map doesn’t have a match. Assuming the geographic names are correct (and there aren’t a bunch of typos), this tells you that you picked a map with the wrong scope. Look at what type of data it can’t resolve (e.g. cities, states, etc.) and change your map accordingly and that should give you better results.