Community of VE/MapPoint Users and Developers
This is a discussion on Having Problems with LinkData w/ Addresses within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Trying to use LinkData (in an attempt to lower my memory usage), and while the routine that imports the data ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Having Problems with LinkData w/ Addresses The text file is as follows: Code: Address1 City Region Info1 Info2 Info3 Info4 Info5 841 N. MAIN ST CORONA CA Foo1 Foo2 Foo3 Foo4 Foo5 I even tried building a field array to pass so I could specify what the street address data was, but that didn't work either. Code: Dim fieldArray As Array = Array.CreateInstance(GetType(Object), 8, 2)
fieldArray.SetValue("Address1", 0, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldAddress1, 0, 1)
fieldArray.SetValue("City", 1, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldCity, 1, 1)
fieldArray.SetValue("Region", 2, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldRegion1, 2, 1)
fieldArray.SetValue("Info1", 3, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldData, 3, 1)
fieldArray.SetValue("Info2", 4, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldData, 4, 1)
fieldArray.SetValue("Info3", 5, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldData, 5, 1)
fieldArray.SetValue("Info4", 6, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldData, 6, 1)
fieldArray.SetValue("Info5", 7, 0)
fieldArray.SetValue(MapPoint.GeoFieldType.geoFieldData, 7, 1)
' Create the Units dataset
Dim ds As MapPoint.DataSet
ds = Me.ActiveMap.DataSets.LinkData(Me.AppPath & "\inc.tmp", "IncNo", fieldArray, MapPoint.GeoCountry.geoCountryMultiCountry, MapPoint.GeoDelimiter.geoDelimiterTab, 0) MR |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Linking LinkData | DrewD | MapPoint 2006/2009 Discussion | 0 | 02-10-2004 10:22 AM |
| LinkData and VC++ | sowtschi | MapPoint 2006/2009 Discussion | 0 | 07-07-2003 09:32 AM |
| LinkData with UDL file in VB 6 App | Wim | MapPoint 2006/2009 Discussion | 1 | 04-03-2003 06:04 AM |
| I have a VB6 app using LINKDATA to get to a Access.... | Anonymous | MapPoint 2006/2009 Discussion | 3 | 08-06-2002 11:06 PM |
| Is it possible to use the Linkdata() method to con.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 04-26-2002 08:06 AM |
Cheap Flights to Madeira
Save your money to spend out in Madeira. Use Holiday Hypermarket to find cheap flights to Madeira and cheap accommodation too.
Flights to Italy
Find cheap flights to Italy on Travel Counsellors. A personal Travel Counsellor can help you plan flights and find accommodation in Italy.
Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.
Holidays to Mauritius
Visit the paradise island in your holidays to Mauritius. Enjoy the friendliness of the locals, the warm of the sun and the beauty of the views!
Cheap Spain Holidays
Stay well informed when you are searching for cheap holidays online. For useful advice on when to book cheap Spain holidays make sure you look on ulookubook.com
Family package holidays
Save a lot of time and opt for one of the great family package holidays at Travel.co.uk
Holidays in Sharm el Sheikh
Need booking info on holidays in Sharm el Sheikh? Visit On The Beach for more information!