MapPoint Forums

MapForums

Community of MapPoint and Virtual Earth Users and Developers




Import method

This is a discussion on Import method within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I have a question about the import method. How does it work ? This is my VB code. dim ...


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 01-30-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Import method

Hello,

I have a question about the import method. How does it work ?
This is my VB code.

dim oMap as Mappoint.map
dim oDataset as Mappoint.dataset
dim myQuery as string
myQuery = ....

set ds = oMap.import(myQuery, Importflags:=geoImportAccessQuery)

This line works well. The data are imported but the records are showned by geoShowDataCountry.

In my query, I have columns for city and country. But the import method does not use the city one.

I try to use an array.

Dim myExampleArray(2, 2)

myExampleArray(1, 1) = "City"
myExampleArray(1, 2) = geoFieldCity

myExampleArray(2, 1) = "Country"
myExampleArray(2, 2) = geoFieldCountry

set ds = oMap.import(myQuery,Array0fFields:= myExampleArray, Importflags:=geoImportAccessQuery)

This line does not work. An error occurs : incorrect parameter. Why ?

Thx for you help

Hasan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-28-2003
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
already solved ?

Hello Hasan,

is the problem (import-method) already solved ?

Greetings

Mark
(Mark.Pfizenmayer@web.de)
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, method


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
Calculate Method Anonymous MapPoint 2006/2009 Discussion 1 05-11-2005 01:20 PM
DisplayDataMap method c# fletch MapPoint 2006/2009 Discussion 1 04-08-2005 06:26 AM
import query with importdata method in VB.net Anonymous MapPoint 2006/2009 Discussion 3 01-20-2004 10:30 AM
problem with IMPORT-method Anonymous MapPoint 2006/2009 Discussion 1 06-04-2003 08:41 AM
FindNearby Method Anonymous MapPoint 2006/2009 Discussion 0 09-24-2002 09:08 AM


All times are GMT -5. The time now is 05:29 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

Larnaca Holiday
Take a Larnaca holiday through UlookUbook and enjoy beautiful seaside resorts and sandy beaches.



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