Dim DS As Object
Dim the DB As Object
Dim the RS As Object
Dim Temp As Object
Set the DB=machine-specific (0). The OpenDatabase (" Mapstats. MDB)
Set the RS=DB. OpenRecordset (" USA ")
Set the DS=Map1. Datasets. The Add (miDataSetDAO, RS)
Set Map1. The Layers (" USA ") LabelProperties. The Dataset=DS
The Set Temp=DS. Fields (" GEONAME ")
The Set Map1. The Layers (" USA ") LabelProperties. DataField=Temp
Who knows in the PB how to get the RS code in red above?
It is best to give you an in PB, Mapx binding database example, to a recordset oh, thank you!
CodePudding user response:
Ask everybody to help, online, etcCodePudding user response:
Pb and mapx combined with bad ahCodePudding user response:
Recently I am doing this, can you discuss, QQ: 54931903