当前位置: 代码迷 >> PB >> 请教非字符型字段,怎么使用filter函数过滤
  详细解决方案

请教非字符型字段,怎么使用filter函数过滤

热度:77   发布时间:2016-04-29 09:01:49.0
请问非字符型字段,如何使用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+"')"
  相关解决方案