下拉数据窗口过滤两次问题
现有程序要求在数据在录入过程中录入 系列(series)及 专业(pro)确定所有资格(qlt)
open()事件中
dw_1.getchild(qlt,child)
child.settransobject(sqlca)
child.retrieve()
在itemchanged事件中
if dwo.name = 'series' then
dw_1.getchild(series,child1)
child1.setfilter("")
child1.setfilter("series = '"+data+"'")
child1.filter()
end if
if dwo.name = "pro"then
dw_1.getchild(pro,child1)
child1.setfilter("")
child1.setfilter("series = '"+data+"'")
child1.filter()
end if
如当前系列与当前系列下无人员此时qlt子窗口会有原来过滤出的值如何将原值滤掉