MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to identify failed records in the search?

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 ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-23-2005
Junior Member
Yellow Belt
 
Join Date: Jul 2005
Posts: 13
How to identify failed records in the search?

Hi,
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 08-23-2005
Member
Green Belt
 
Join Date: Mar 2005
Posts: 96
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
Ciao
__________________
Mohamed
www.AtlasCouscous.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 08-24-2005
Junior Member
Yellow Belt
 
Join Date: Jul 2005
Posts: 13
Thank you veri much!
Pileggi
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
failed, identify, records, search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -5. The time now is 07:28 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54