types of expressions must match
大家帮帮忙,我做查询的时候搞了半天老师出这个问题,快搞疯了
以下是代码~~
string fh,zd,nr,zhtj
fh=trim(ddlb_2.text)
if ddlb_1.text="客户全称" then
zd="khqc";nr=""+sle_1.text+""
elseif ddlb_1.text="出库日期" then
zd="ckrq";nr=""+sle_1.text+""
elseif ddlb_1.text="药品编号" then
zd="ypbh";nr=""+sle_1.text+""
elseif ddlb_1.text="药品名称" then
zd="ypmc";nr=""+sle_1.text+""
end if
zhtj=zd+fh+""+nr+""
dw_1.settransobject(sqlca)
dw_1.setfilter(zhtj)
dw_1.filter()
dw_1.retrieve()
高手大哥们帮帮忙啊~小弟不胜感激