MapPoint Forums

MapForums

Community of VE/MapPoint 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

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 07:20 PM.


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

Manchester Airport Flight Arrivals
For details about Manchester Airport flight arrivals visit Holiday Hypermarket. We make it easy to find the airport information you need.

Flights to Turkey
Find and book flights to Turkey. Travel Counsellors can help with travel to Turkey including flights and accommodation.

Thailand Holiday
A Thailand Holiday has much to offer with historic culture, lively arts, beautiful beaches, a good nightlife, friendly and hospitable people and one of the best cuisines in the world.

Nile Cruises
Nile cruises are one of the best ways to discover the riches of Egypt. See ancient ruins and lush verdure from the River Nile. Book today!

Cheap Canaries Holidays
Are you hunting down cheap Canaries holidays? Well check out ulookubook.com to bag a great value holiday. There are numerous festivals taking place all year round. Why not book your holiday around one?

Travel
Before making a choice regarding travel, check out the amazing variety of options on Travel.co.uk.

Cheap Holidays to Goa
Dine on delightful seafood in west India. Find information on cheap holidays in Goa at On The Beach.


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