Home > database >  The development of mapX in PB
The development of mapX in PB

Time:09-29

I want to get the RS recordset, but there are no records in PB set this. Below is in the VB code, how to convert PB code?
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, etc

CodePudding user response:

Pb and mapx combined with bad ah

CodePudding user response:

Recently I am doing this, can you discuss, QQ: 54931903
  • Related