arcgis中属性赋值VBA,怎样访问属性表某个字段?

2024-12-26 09:25:33
推荐回答(3个)
回答1:

VBA部分:
Static lCount as long
Dim a as string
lCount=lCount+1
a= Format( lCount, "0000")
赋值部分:
a
“0000”表示前面自动补〇,补够四位数,依次类推。

回答2:

dim str as string
dim num1 as integer
num1=pfeatureclass.findfield("str")
xxx=pfeatureclass.value(num1)

回答3:

itable接口