MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Import Txt->MapPoint (VBA)

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 ...


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

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



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-22-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Import Txt->MapPoint (VBA)

Hallo zusammen,

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
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
import, txt>mappoint, vba


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
Import coordinate into mappoint 2K4 Anonymous MapPoint 2006/2009 Discussion 1 03-23-2005 09:01 AM
PC5, WPT, FUG, WAY, WP -> Mappoint Import blottje MapPoint 2006/2009 Discussion 8 09-16-2004 05:53 AM
MapPoint can't import near-zero longitudes? random MapPoint 2006/2009 Discussion 6 08-25-2004 09:03 AM
Is it possible in MapPoint to import a set of Auto.... Anonymous MapPoint 2006/2009 Discussion 1 07-30-2002 03:01 AM
Is Mappoint allows to import new map of my own and.... Anonymous MapPoint 2006/2009 Discussion 1 12-23-2001 05:27 AM


All times are GMT -5. The time now is 12:35 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0 RC2
MP2K Magazine
Visitor Map

Menorca Holiday
Enjoy a Menorca holiday at a great rate when booked through UlookUbook!



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