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 force a pushpin for geoByNone

This is a discussion on How to force a pushpin for geoByNone within the Development forums, part of the MapPoint Desktop Discussion category; I have linked data records for my map So after I UpdateLinked records in code ds.UpdateLink(); I MapPoint. Recordset data ...

  1. #1
    PureWeen is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    2

    How to force a pushpin for geoByNone

    I have linked data records for my map

    So after I UpdateLinked records in code
    ds.UpdateLink();

    I
    MapPoint.Recordset data = ds.QueryAllRecords();

    Than loop through the data looking for non matched records

    Now Ambigiuous data is fine because I can just do
    data.CallMatchMethod("MyMatchMethod", matchME);

    And pick an ambiguous match

    BUT I have no idea how to do this if the matchmethod is geoByNone

    The problem is some of the addresses have the Address specified as a PO BOX so Mappoint doesn't like that at all and just says improper.

    SO what I want to do is take that data unit (pushpin) and just place it as if the search was done by zipcode ignoring the address

    How would I do this?

    I tried setting location

    data.PushPin.Location = loc

    but that didn't work
    And I can't to an AddPushPin followd by a moveto because it's a linked data set

    Is it possible?
    Or do I just have to go through the excel file it's linked to and by hand remove all the PO Box addresses. Because if it comes back as geoByNone it's impossible to just manually put the associated pushpin somewhere?

    Thank you for your help
    Shane

  2. #2
    Mattys Consulting's Avatar
    Mattys Consulting is offline Senior Member Black Belt
    Join Date
    Dec 2002
    Posts
    1,040

    Re: How to force a pushpin for geoByNone

    You might just add a pushpin to "My PushPins" at the Zip location
    for each PO Box. Not much fuss to that. You'll probably want them
    seperate anyway ...

    Mike Mattys

  3. #3
    PureWeen is offline Junior Member White Belt
    Join Date
    Sep 2007
    Posts
    2

    Re: How to force a pushpin for geoByNone

    Yea...that was my plan if I couldn't find another way

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Force crossing point
    By JoeBo in forum MapPoint Desktop Discussion
    Replies: 6
    Last Post: 05-19-2007, 08:53 AM
  2. Force/unlock scales outside US/EU?
    By vtecy in forum MapPoint Desktop Discussion
    Replies: 3
    Last Post: 01-24-2007, 08:44 AM
  3. How is possible to force order in Recordset?
    By Anonymous in forum MapPoint Desktop Discussion
    Replies: 0
    Last Post: 08-27-2004, 04:06 AM
  4. Mappoint 2002 API bug? RecordSet.MatchingMethod = geoByNone
    By David J in forum MapPoint Desktop Discussion
    Replies: 1
    Last Post: 07-20-2004, 10:46 AM
  5. Replies: 0
    Last Post: 01-13-2004, 11:39 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 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96