我这样写了!还是取的之前的值啊
String s_ifusdymd
long ls_number
ls_number=dw_edit.getrow()
s_ifusdymd=dwo.name
s_ifusdymd=upper(s_ifusdymd)
if s_ifusdymd='IFUSDYMD' then
this.accepttext()
if dw_edit.object.ifusdymd[ls_number]<>'0' then
cb_1.visible=true
cb_4.visible=true
cb_5.visible=true
else
cb_1.visible=false
cb_4.visible=false
cb_5.visible=false
end if
end if