ls_filter = "column1 like '% " + sle_1.text + "% ' "
ls_filter += " and column2 like '% " + sle_2.text + "% ' "
dw_1.setfilter(ls_filter)
dw_1.filter()
这段过滤代码错在哪里,总是提示“excepting TRUE/FALSE expression "
------解决方案--------------------
ls_filter = "(column1 like '% " + sle_1.text + "% ') "
ls_filter += " and (column2 like '% " + sle_2.text + "% ') "
dw_1.setfilter(ls_filter)
dw_1.filter()
------解决方案--------------------
正确
结吧