首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

FILTER 发生异常 expecting string expression

2012-03-15 
FILTER 发生错误expecting string expressionll_collong(i_dw.object.datawindow.column.count)for i1 t

FILTER 发生错误 expecting string expression
ll_col=long(i_dw.object.datawindow.column.count)
for i=1 to ll_col 
ls_colname = trim(i_dw.describe('#' + string(i) + ".name"))
if isnull(ls_colname) or ls_colname='' then continue ;
ls_visible = i_dw.describe( ls_colname+".visible")
if isnull(ls_visible) or ls_visible='0' then continue ;
ls_str = ls_str +"("+ ls_colname+" like '%"+data+"%') or "
next 
ls_str = mid(ls_str,1,len(ls_str)-3)
messagebox('',ls_str)
i_dw.setfilter(ls_str)
i_dw.filter( )

意识是表达式错误,可是我就是不知道哪出错了。

[解决办法]

探讨
知道错误了

热点排行