Community of VE/MapPoint Users and Developers
This is a discussion on How to identify failed records in the search? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, I need to identify, after the importation, using VB code, the records that MapPoint hasn't found. I see ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| How to identify failed records in the search? I need to identify, after the importation, using VB code, the records that MapPoint hasn't found. I see that MapPoin put these points (in the Route) in the center of the selected area, but I don't know more. Someone is so kind to tell me where I have to look for? Thanks, Pileggi |
| |||
|
Hi , If you do it programmatically, Just read your file and for each address ( Loop ) test the ResultsQuality Property See this example: ( Sorry I don't use VB programming, you have to check the syntax ) Code: Set objmap = MappointControl1.ActiveMap
Dim objFR As MapPointctl.FindResults
'Syntaxe
'objet.FindAddressResults([Street], [City], [OtherCity], [Region], '[PostalCode], [Country])
'StreetAddress = address x
'City = City x
'etc.
Set objFR = objmap.FindAddressResults(StreetAddress, City ,State,Zip,geoCountryItaly)
If objFR.ResultsQuality = geoFirstResultGood Then
objmap.AddPushpin objFR.Item(1), "indirizzo esatto"
Else
'See the other matches if any, what you call NOT FOUND
For i = 1 To objFR.Count
Message objFR.Item(i).Name
Next
End If |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Assertion failed error | Radar | MapPoint 2006/2009 Discussion | 2 | 10-01-2005 04:35 AM |
| Identify Geographical Location of Internet Address Space | Anonymous | News and Announcements | 3 | 11-04-2004 01:59 PM |
| How can I identify the record of an Access databas.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-02-2002 09:21 AM |
| Is it possible to identify a street name (or a col.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-21-2002 04:58 AM |
| Why can't I identify areas in Northern Ireland by .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-19-2001 04:11 AM |
Madeira Flights
The historic features of Madeira are complimented by top-notch facilities and plenty of water sports activities. Book Madeira flights online today.
Best Travel Agent
Travel Counsellors was recently voted the UK's Best Travel Agent at the Guardian Unlimited travel awards. Book your travel with an award winning travel agent.
Holidays in Italy
Holidays in Italy boast some stunning countryside as well as a beautiful coastline. You can even visit an active volcano like Stromboli or Etna. Book at dealchecker.co.uk.
Holidays to Bahamas
Choose from a number of extraordinary holidays to the Bahamas at The Holiday Place. See pictures of these beautiful islands online.
Turkey
Before booking a holiday to Turkey check out the ULookUBook travel guide. Find out about the rich culture in Turkey before you go there to help you to make the most of your holiday.
Travel In
Travel.co.uk is the one you are looking for when checking out price comparison sites, so that you can travel in the way you choose.
Cheap Holidays to Gran Canaria
Book a flight to the Canary Islands! View information on cheap holidays to Gran Canaria online at On The Beach.