The MS help for this includes the code:
Code:
Dim objDS As MapPoint.DataSet
Dim strXNC As String
With Me.ctrlMP.ActiveMap.DataSets
strcnx = gBDD_LOCAL & "!" & "ReqSQL"
Set objDS = .LinkData(strcnx, "NUM_FDT", , geoCountryFrance, , geoImportAccessQuery)
objDS.Symbol = 26
arArray = Array(objDS.Fields(1), objDS.Fields(2), objDS.Fields(3), objDS.Fields(4))
objDS.SetFieldsVisibleInBalloon arArray
End With
In my situation, I don't know in advance which fields the user will want in the balloon.
Can anyone tell me how to show fields 1, 4 & 5 one day and then fields 1,2,5,8,9 the next day?
e.g. using values from an array
dim lbInBalloon(1 to 20) as boolean
It's probably a VB thing rather than a Map Point question, but since arArray isn't even declared, it makes the 'help' very difficult to follow!
Cheers
-James