请问非字符型字段,如何使用filter函数过滤
如题~~~
[解决办法]
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+"')"