当前位置: 代码迷 >> PB >> 关于modify的有关问题,“#”是什么意思
  详细解决方案

关于modify的有关问题,“#”是什么意思

热度:70   发布时间:2016-04-29 06:54:44.0
关于modify的问题,“#”是什么意思

以下程序的#是什么意思
If as_dw.Describe("#"+string(ll_column)+".key") ='yes' Then
If ib_keycolor Then as_dw.Modify("#"+string(ll_column)+".background.color = '"+ls_key_color+"'")
If ib_keypro   Then as_dw.Modify("#"+string(ll_column)+".Protect = '"+ls_key_protect+"'")
Else
If ib_color    then as_dw.Modify("#"+string(ll_column)+".background.color = '"+ls_color+"'")
End If
If ib_border Then as_dw.Modify("#"+string(ll_column)+".border           = '"+ls_border+"'")
NEXT

------解决方案--------------------
#+列号代表具体的列,一般不知道列名的情况下就用#+列号来对具体的列操作