筛选之前,改变其值
e.Filter = iif(e.Filter>"", e.Filter, "1=1") & " and 库存 <> 0 "
http://www.foxtable.com/help/topics/2059.htm