MapPoint Forums

MapForums

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

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #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


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 10:45 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

Kitzbuhel Skiing
Kitzbuhel is architecturally the most beautiful Ski resort in Austria. Kitzbuhel skiing encourages skiers to test their skills on the numerous pistes around the village.

City Break Europe
Take a city break in Europe. Travel Counsellors can help plan and book your European city break.

Cape Town Cheap Flights
Thinking about visiting Cape Town. Cheap flights are hard to find unless you visit dealchecker.co.uk. We'll shop around so you don't have to.

Holidays to Cancun
The Holiday Place has special offers on holidays to Cancun during the month of September. Book a late summer holiday with us!

Cheap Holidays
Hunting for cheap holidays? Well save time by booking online with ulookubook.com and you can even check out our top tips to help you hunt down a bargain holiday.

Cheap Holidays
Looking for holidays that are cheap, but still what you want? Visit Travel.co.uk.

Cheap Lanzarote Holidays
The Canary Islands beckons you to come! View information on cheap Lanzarote holidays 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