MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Problem linking MApPoint DB2 - UDL

This is a discussion on Problem linking MApPoint DB2 - UDL within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi, When I trying to link MapPoint to the DB2 database using UDL file strDataSource = "C:\DB2_Dev.UDL! PIC_GTA_MAP_DATA " objDataSets ...


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 10-08-2004
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
Problem linking MApPoint DB2 - UDL

Hi,
When I trying to link MapPoint to the DB2 database using UDL file
strDataSource = "C:\DB2_Dev.UDL! PIC_GTA_MAP_DATA "
objDataSets = oApp.ActiveMap.DataSets
objDataSet = objDataSets.LinkData(strDataSource, "OUTLET_NUMBER", , 39, , )
I got this error: “Cannot connect with the specified DataSourceMoniker.”

I tested connection to the DB2 in UDL file and test was OK.

But when I use Access database with linked tables to the DB2 everything work fine:
strDataSource = "C:\Databases\PIC.mdb!PIC_GTA_MAP_DATA"
objDataSets = oApp.ActiveMap.DataSets
objDataSet = objDataSets.LinkData(strDataSource, "OUTLET_NUMBER", , 39, , )

Could you please tell me what I did wrong?
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
db2, linking, mappoint, problem, udl


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
Linking Data within an Excel Workbook to Mappoint XLR Excel MapPoint 2006/2009 Discussion 0 07-06-2005 02:23 PM
Linking to Weather Data From MapPoint Anonymous MP2K Magazine Articles 1 11-01-2004 08:24 AM
I've got a problem when linking a dataset ! Vincent BENNER MapPoint 2006/2009 Discussion 4 04-20-2004 09:19 AM
Linking Excel with Mappoint whs28175 MapPoint 2006/2009 Discussion 1 11-20-2003 06:03 AM
problem with linking to access Anonymous MapPoint 2006/2009 Discussion 1 06-19-2003 06:32 PM


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


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