Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
请见:本页地址:http://help.foxtable.com/topics/2177.htm
我在销售表中,使用发现:
(1)首先筛选
[职员名称] = '郑晓频'
(2)按值筛选,选择
[库房编码] In ('B')
结果,我打开“编辑筛选表达式”,发现是:[库房编码] In ('B')
正常应该是:([职员名称] = '郑晓频') And [库房编码] In ('B')
导致筛选结果不正确,请问为什么会这样????
我变通了一下:将按钮代码改为
Dim a,b As String
a = CurrentTable.Filter
If a IsNot Nothing AndAlso a <> "" Then
Syscmd.Filter.Values()
b = CurrentTable.Filter
If b IsNot Nothing AndAlso b <> "" AndAlso a <> b Then
CurrentTable.Filter = "(" & a & ") And (" & b & ")"
End If
Else
Syscmd.Filter.Values()
End If