如题~~~
------解决方案--------------------
sql 语名的where怎么写,setfilter就怎么写。
------解决方案--------------------
ls_filter="(im_warehousem_warehsno ='"+string(ll_warehsno)+"') and (im_warehousem_specification ='"+ls_specification+"')"
ll_warehsno如果为1
你这个写法,ls_filter就是: im_warehousem_warehsno='1' and ......
去掉数字变量的引号
ls_filter="(im_warehousem_warehsno ="+string(ll_warehsno)+") and (im_warehousem_specification ='"+ls_specification+"')"