Is it possible to label a map with fields from a Access database. I'
working with Mapxtreme 2 NT Version and Hahtsite 40. For example in the
demographics example i create a thematic map with  DAO. This makes the
connection to the Access database. Now i want to label the map with one
field  from the Access database. Is this possible.

The help file provides only a file in VB (which i can't translate into
Haht talk basic):
Dim DS As Object
  Dim DB As Object
  Dim RS As Object
  Dim Temp As Object
  Set DB = Workspaces(0).OpenDatabase("C:\Program Files\MapInfo MapX
V2\Data\Mapstats.mdb")

  Set RS = DB.OpenRecordset("USA")
  Set DS = Map1.Datasets.Add(miDataSetDAO, RS)
  Set Map1.Layers("usa").LabelProperties.Dataset = DS
  Set Temp = DS.Fields("GEONAME")
  Set Map1.Layers("usa").LabelProperties.DataField = Temp

I would appreciate any help.
Thanks




----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to