查找:是通过产品编号来实现的(其中有2个品种 J6和J6+)每次查询时都是一起出来,能不能把它分开查询呢?
原来写的代码如下
Dim Filter As StringWith e.Form.Controls("TextBox1") If .Value IsNot Nothing Then Filter = "产品编号 like '%" & .Value & "%'" End IfEnd WithIf Filter > "" Then e.Form.Controls("Table2").Table.Filter = FilterEnd If