请大家看看里边的代码,我看不懂呀
long childrow,length
int code
datawindowchild dwc_child
if dwo.name='dept_no' then
code=this.getchild('dept_no',dwc_child)
if code=-1 then
messagebox('错误',‘数据窗口的dept_no列没包含下拉数据窗口')
return 0
end if
length=len(date)
childrow=dwc_child.find("left(department,"+string(length)+ &
")='"+trim(data)+"'",1,dwc_child.rowcount())
if childrow>0 hen
dwc_child.post selectrow(child,true)
end if
end if
return 0
其中dwo.name代表什么意思?
还有这句代表什么呢?dwc_child.post selectrow(child,true)
谢谢了