Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Problem linking MApPoint DB2 - UDL 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? |
![]() |
| Tags |
| db2, linking, mappoint, problem, udl |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| 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 |