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 that ...
| |||||||
| 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
|
![]() |
| Tags |
| failed, identify, records, search |
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 05:35 AM |
| Identify Geographical Location of Internet Address Space | Anonymous | News and Announcements | 3 | 11-04-2004 02:59 PM |
| How can I identify the record of an Access databas.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-02-2002 10:21 AM |
| Is it possible to identify a street name (or a col.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-21-2002 05:58 AM |
| Why can't I identify areas in Northern Ireland by .... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-19-2001 05:11 AM |