dw_1的rowfocuschanged事件
if currentrow > 0 and this.rowcount() > 0 then // currentrow 是rowfocuschanged事件的参数 .
dw_2.retrieve(getitemstring(currentrow,'departno'))
if dw_2.rowcount() > 0 then
dw_2.trigger event rowfocuschanged(1) // 人为触发这个事件,应传一个参数给它
end if
end if