Community of VE/MapPoint Users and Developers
This is a discussion on Import Txt->MapPoint (VBA) within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hallo zusammen, ich erstelle eine Säulendiagrammkarte die notwendige Daten importiere aus Txt-Datei. Import klappt nicht, bekomme ein Fehler: "Es wurde ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Import Txt->MapPoint (VBA) ich erstelle eine Säulendiagrammkarte die notwendige Daten importiere aus Txt-Datei. Import klappt nicht, bekomme ein Fehler: "Es wurde keine Zuordnungsmethode für diese Felder definiert" Hier ist der Quellcode: Sub ExportFromTxtFileToMapPoint() On Error GoTo Err_Handler Dim oDS As MapPoint.DataSet Dim xFieldArray(1 To 2, 1 To 2) As Variant 'Das Feld Name als Name verwenden: xFieldArray(1, 1) = "Jahr" xFieldArray(2, 1) = geoFieldData xFieldArray(1, 2) = "Umsatz" xFieldArray(2, 2) = geoFieldData Set oDS = MPApp.ActiveMap.DataSets.ImportData ("N:\Projekte\MapPoint\AbfrageDaten.txt", _ xFieldArray, _ geoCountryGermany, geoDelimiterComma, _ geoImportFirstRowIsHeadings) Exit Sub Err_Handler: MsgBox "ExportFromTxtFileToMapPoint: " & Err.Description, vbCritical, "error: " & Err.Number End Sub Ich wäre sehr dankbar für jede Hilfe Swetlana |
![]() |
| Tags |
| import, txt>mappoint, vba |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Import coordinate into mappoint 2K4 | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-23-2005 10:01 AM |
| PC5, WPT, FUG, WAY, WP -> Mappoint Import | blottje | MapPoint 2006/2009 Discussion | 8 | 09-16-2004 06:53 AM |
| MapPoint can't import near-zero longitudes? | random | MapPoint 2006/2009 Discussion | 6 | 08-25-2004 10:03 AM |
| Is it possible in MapPoint to import a set of Auto.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 07-30-2002 04:01 AM |
| Is Mappoint allows to import new map of my own and.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 12-23-2001 06:27 AM |