我的ITEMCHANGED代码
choose case dwo.name
case "证书编号"
long ll_count
if data <> "" then
SELECT count(*) INTO :ll_count FROM 资格证书 WHERE 证书编号 = :data ;
if ll_count >0 then
this.Retrieve(data)
end if
end if
case "岗位名称(普工)" ,"岗位名称(普工)2"
if f_is_asc(data) then
string ls_ret
openwithparm(w_select_jobs,data)
ls_ret = Message.StringParm
if ls_ret <> "" then
if dwo.name = "岗位名称(普工)" then
this.object.岗位名称(普工)[1] = ls_ret
else
this.object.岗位名称(普工)2[1] = ls_ret
end if
return 1(关键啊,就是不想这样)
end if
end choose