Community of VE/MapPoint Users and Developers
This is a discussion on Matching unmatched items after import into VB6 app within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I am importing a salesman's route (in a CSV file) into my VB6 app using the Mappoint ActiveX control. The ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Matching unmatched items after import into VB6 app Thanks in advance. Andy Baker |
| |||
|
Hi, I try to give you a way: mymap.NewMap (geoMapEurope) Set oMap = mymap.ActiveMap 'You add a group to the collection Datasets oMap.DataSets.AddPushpinSet "g1" 'this is a group 'You find your adress Set locTest = oMap.FindAddressResults("", txt, "", "", vcode, vcountry).Item(1) 'You place your pushpin in your map Set opPin = oMap.AddPushpin(locTest, title) 'You had your pushpin to the group opPin.MoveTo oMap.DataSets.Item("g1") 'The pushpin will have a symbol ... opPin.BalloonState = geoDisplayName opPin.Symbol = n I think that the grpou "g1" coul be those you have import from your data file. Bye, Val |
| |||
|
Thanks for the tip. Setting the pushpin symbol and adding it manually to the map is much better than not displaying it at all. The problem that I now have is that the pushpin remains unmatched. I am displaying the details of each location using xShowFields = Array(oDataset.Fields(2), oDataset.Fields(3), oDataset.Fields(4), oDataset.Fields(5)) oDataset.SetFieldsVisibleInBalloon (xShowFields) to display the customer fields in the information balloon. However, the unmatched pushpin has no such fields, and I can only display the pushpin name, which is the unique customer code. This is not very meaningful, unless the user knows all the codes, and I would prefer to be able to display the customer name and address as I do for all the imported pushpins. |
| |||
|
I am trying to link Access and Mappoint so that I can check to see which records contain invalid postcodes. Is this possible using VBA as I do not have access to VB6 or other SDKs? I don't need any automation, I just want it to return a list of al records (account code & post code), so that I can then go to those accounts and correct/update the post codes |
![]() |
| Tags |
| app, import, items, matching, unmatched, vb6 |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Sum of Items within a Radius? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-09-2005 05:47 PM |
| Unmatched records | fletch | MapPoint 2006/2009 Discussion | 0 | 03-09-2005 10:24 AM |
| Programmatically selecting Unmatched results? | mschoonmaker | MapPoint 2006/2009 Discussion | 7 | 01-21-2005 08:13 AM |
| export unmatched records | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-17-2003 02:51 PM |
| Non Mapped Items | Anonymous | Wish List | 0 | 12-17-2002 03:33 AM |