Welcome to MapForums!

Register, sign in, or use Facebook Connect above to join in and participate in the forum.

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

Subscribe to receive our newsletter.
Subscribe Unsubscribe
Results 1 to 3 of 3

How to identify failed records in the search?

This is a discussion on How to identify failed records in the search? within the MapPoint Desktop 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 ...

  1. #1
    pileggi is offline Junior Member Yellow Belt
    Join Date
    Jul 2005
    Posts
    23

    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

  2. #2
    Mohamed is offline Member Green Belt
    Join Date
    Mar 2005
    Posts
    97
    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

  3. #3
    pileggi is offline Junior Member Yellow Belt
    Join Date
    Jul 2005
    Posts
    23
    Thank you veri much!
    Pileggi

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Assertion failed error
    By Radar in forum MapPoint Desktop Discussion
    Replies: 2
    Last Post: 10-01-2005, 05:35 AM
  2. Identify Geographical Location of Internet Address Space
    By Anonymous in forum News and Announcements
    Replies: 3
    Last Post: 11-04-2004, 02:59 PM
  3. How can I identify the record of an Access databas....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-02-2002, 10:21 AM
  4. Is it possible to identify a street name (or a col....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 06-21-2002, 05:58 AM
  5. Why can't I identify areas in Northern Ireland by ....
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 12-19-2001, 05:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


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 55 56 57 58 59