读书人

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

发布时间: 2012-02-06 15:52:44 作者: rapoo

请问非字符型字段,如何使用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+"')"

读书人网 >PB

热点推荐