MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Stored Procedure in DataSourceMoniker of ImportData medthod

This is a discussion on Stored Procedure in DataSourceMoniker of ImportData medthod within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I'm using MapPoint 2004, VB.Net and SQLServer and I wonder if and how it is possible to use a stored ...


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 06-24-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 10
Stored Procedure in DataSourceMoniker of ImportData medthod

I'm using MapPoint 2004, VB.Net and SQLServer and I wonder if and how it is possible to use a stored procedure inside the DataSourceMoniker of the ImportData method.
What I've allready done is
Code:
ImportData("db.udl!q_MyQuery", ...)
Another way might be to add the where clause to the DataSourceMoniker. Is that possible?

My problem is that I can't use different queries.
So anybody has an idea?

Thanks in advance.

Alex
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 06-24-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
....afaik, you can't import from SQL server, just from MS Access. Hope I’m wrong!

You are on the right track with the moniker other than that. In Access you can definitely import from a query. Just use geoImportAccessQuery in the import flags. Note, I have found that is fails with very long path names...or of course if you have a ! in the path somewhere.

I assume you know where the docs are, but just in case:

http://msdn.microsoft.com/library/en...asp?frame=true

Hope this helps.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 06-25-2004
Junior Member
White Belt
 
Join Date: Mar 2004
Posts: 10
Yes, ChrisA, you are wrong.
Inside that udl-file you can also specify a connection to a SQLServer.
I tried it and it works fine.

So I'm still hoping, that I get the problem solved to use a sp or get the where clause integrated somehow?!
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
I have tried for some time to link to data stored .... Anonymous MapPoint 2006/2009 Discussion 3 06-24-2006 09:00 AM
Remote procedure call failed: Location. StreetAddress Vinay MapPoint 2006/2009 Discussion 3 02-16-2006 01:34 PM
ImportData method ? mgorgone MapPoint 2006/2009 Discussion 2 06-02-2005 01:31 PM
ImportData Anonymous MapPoint 2006/2009 Discussion 0 11-04-2004 03:05 AM
Implementing ImportData in C/C++ moojit MapPoint 2006/2009 Discussion 0 09-01-2002 10:58 PM


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

Ski Holidays Austria
Ski holidays in Austria offer ski schools for all types of skiers. They range from beginner classes of all ages to more advanced classes. Learn new techniques and refresh skills.

Personal Travel Agent'
Whatever your travel needs your personal Travel Agent can help. Travel Counsellors are a Queen's Award winning Travel Agent

Flights Canada
Our search results will show you a selection of airlines, travel agents and tour operators offering cheap flights to Canada. See for yourself who has the cheapest deals.

Holidays to Dominican Republic
Holidays to Dominican Republic offer a wealth of natural beauty and magnificent views. Come alive in the splendor of the Dominican Republic!

Cheap Morocco Holidays
Cheap Morocco holidays may be the answer to your cheap holiday search. With sunshine throughout most of the year it can be great value if you avoid the peak season. Why not include a trip to the small tranquil town of Chefchaouen Tangier in your visit?

Inclusive late deals
For inclusive late deals, check out your options at Travel.co.uk and have fun!

Holidays in Cyprus
Visit the tombs of the island kings! Visit On The Beach for information on holidays in Cyprus.


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