Community of VE/MapPoint Users and Developers
This is a discussion on I've got a problem when linking a dataset ! within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello, I've created DataSet based on a requery witch is the following : Num_FDT (primary key), ADRESS, ZIPCODE, CITY When ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Use FieldOfArrays in LinkData
You'll have to specify the optional [ArrayOfFields] parameter in LinkData before calling LinkData. Something like this in your case ... Dim objDS As MapPoint.DataSet Dim strXNC As String Dim myFieldArray(1 To 4, 1 To 2) As Variant With Me.ctrlMP.ActiveMap.DataSets strcnx = gBDD_LOCAL & "!" & "ReqSQL" myFieldArray(1, 1) = "NUM_FDT" myFieldArray(1, 2) = geoFieldName myFieldArray(2, 1) = "ADDRESS" myFieldArray(2, 2) = geoFieldAddress1 myFieldArray(3, 1) = "ZIPCODE" myFieldArray(3, 2) = geoFieldPostal1 myFieldArray(4, 1) = "CITY" myFieldArray(4, 2) = geoFieldCity Set objDS = .LinkData(strcnx, "NUM_FDT", myFieldArray, geoCountryFrance, , geoImportAccessQuery) objDS.Symbol = 26 arArray = Array(objDS.Fields(1), objDS.Fields(2), objDS.Fields(3), objDS.Fields(4)) objDS.SetFieldsVisibleInBalloon arArray End With |
![]() |
| Tags |
| dataset, linking, problem |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| linking points | starbuck | MapPoint 2006/2009 Discussion | 2 | 01-09-2005 12:56 PM |
| Problem linking MApPoint DB2 - UDL | Anonymous | MapPoint 2006/2009 Discussion | 0 | 10-08-2004 10:19 AM |
| Problem with dataset.QueryShape Method | Ray Liu | MapPoint 2006/2009 Discussion | 1 | 07-15-2004 11:55 AM |
| problem with linking to access | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-19-2003 06:32 PM |
| Linking a map to a map | Anonymous | MapPoint 2006/2009 Discussion | 1 | 01-10-2003 12:21 PM |