MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




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 2006/2009 Discussion category; I have linked data records for my map So after I UpdateLinked records in code ds.UpdateLink(); I MapPoint. Recordset data ...


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

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



Click here to register

Reply

 

LinkBack (2) Thread Tools Display Modes
  2 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 09-07-2007
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
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 09-07-2007
Senior Member
Blue Belt
 
Join Date: Dec 2002
Posts: 248
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
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 09-07-2007
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
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
force, geobynone, pushpin


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/how-force-pushpin-geobynone-6211.html

Posted By For Type Date
The Magazine for MapPoint - MP2K Magazine This thread Refback 09-09-2007 06:29 PM
mappoint: Blogs, Photos, Videos and more on Technorati This thread Refback 09-08-2007 03:39 AM

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
Force crossing point JoeBo MapPoint 2006/2009 Discussion 6 05-19-2007 08:53 AM
Force/unlock scales outside US/EU? vtecy MapPoint 2006/2009 Discussion 3 01-24-2007 08:44 AM
How is possible to force order in Recordset? Anonymous MapPoint 2006/2009 Discussion 0 08-27-2004 04:06 AM
Mappoint 2002 API bug? RecordSet.MatchingMethod = geoByNone David J MapPoint 2006/2009 Discussion 1 07-20-2004 10:46 AM
Mappoint 2002 API bug? RecordSet.MatchingMethod = geoByNone David J Wish List 0 01-13-2004 11:39 AM


All times are GMT -5. The time now is 04:15 AM.


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