以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  移除统计表中的行  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=76985)

--  作者:zhangxl1964
--  发布时间:2015/11/9 14:00:00
--  移除统计表中的行
老师:你好!
      要移除下面代码中的空行(或零值的行)。现在下面的代码没有执行,请帮助修改一下。
DataTables("存货耗用统计_Table1").RemoveFor("[期初未发运数量]=0.00 and [期初未发运重量]=0.00 and [入库数量] is null And [入库重量] is null And [发运数量] is null And [发运重量] And is null [出库数量] is null And [出库重量] is null And [期末未发运重量]=0.00 And [期末未发运重量]=0.00 " )


--  作者:大红袍
--  发布时间:2015/11/9 14:04:00
--  
DataTables("存货耗用统计_Table1").RemoveFor("[期初未发运数量] is null and [期初未发运重量] is null and [入库数量] is null And [入库重量] is null And [发运数量] is null And [发运重量] And is null [出库数量] is null And [出库重量] is null And [期末未发运重量] is null  And [期末未发运重量] is null  " )
--  作者:zhangxl1964
--  发布时间:2015/11/9 14:32:00
--  
弹出错误提示:
 
      语法错误:“Is”运算符前缺少操作数。

--  作者:大红袍
--  发布时间:2015/11/9 14:38:00
--  
DataTables("存货耗用统计_Table1").RemoveFor("[期初未发运数量] is null and [期初未发运重量] is null and [入库数量] is null And [入库重量] is null And [发运数量] is null And [发运重量] is null and [出库数量] is null And [出库重量] is null And [期末未发运重量] is null  And [期末未发运重量] is null  " )