Ambigous results : MapPoint doesn't take the right solution?

Vincent BENNER
01-22-2003, 02:12 AM
Hello,

I've made a VB6 application based on a Access database.
I need to add pushpins into a new map at database datas
coordonates.

I've got the following fields : street, zip code and city.

Sometimes, it happens that a same street is into 2
differents cities with the same name. Even if I make
a addpushpin method including zip code, city and street,
the pushpin is added into the wrong city.

So, how to make priority on the couple ZIP CODE + CITY
before the STREET ?

Regards,

Vincent BENNER

Rainer
01-22-2003, 02:57 AM
Hi,

the most secure way i think is to call the ShowFindDialog()-Method
instead of the FindAddressResults()-Method.

You can set the AutoConfirmExactMatch - parameter to TRUE so in case
of an correct result the ShowFindDialog will be closed automatically
if there are more than one result you can select the correct one.

But if you still want to use the FindAddressResults()-Method you have
to check the ResultsQuality-Property first before you add the PushPin.

greetings
Rainer

 
Web mp2kmag.com
mapforums.com