Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Dim Filter As String
With e.Form.Controls("ComboBox5")
If .Value IsNot Nothing Then
Filter = "服务包ID = '" & .Value & "'"
Filter = " And [客户ID] Is Null"
End If
End With
这个怎么执行两个条件的筛选
代码这样写有错吗
Dim Filter As String
With e.Form.Controls("ComboBox5")
If .Value IsNot Nothing Then
Filter = "[客户ID] Is Null And 服务包ID = '" & .Tables("服务包明细").current("服务包ID") & "'"
End If
End With
这样写还是出差
出差为“未找到ComboBox 的共用成员Tables”
Dim Filter As String
With e.Form.Controls("ComboBox5")
If .Value IsNot Nothing Then
Filter = "服务包ID = '" & .Value & "'"
Filter = Filter & " And [客户ID] Is Null"
End If
End With
谢谢狐爸
昨天搞了一个晚上,今天终于解决了