大师:红色部分的代码为何不对?为什么? 有的为什么这样写正确?
Dim comb1 As WinForm.ComboBox = e.Form.Controls("ComboBox31")
Dim comb2 As WinForm.ComboBox = e.Form.Controls("ComboBox2")
Dim tb3 As WinForm.Table = e.Form.Controls("Table3")
'tb3.Table.Filter = "dtwlmxb2 = '" & comb1.Value & "--" & comb2.Value & "'" Or "dtwlmxb2 = '" & comb2.Value & "--" & comb1.Value & "'"
tb3.Table.Filter = "dtwlmxb2 = '" & comb1.Value & "--" & comb2.Value & "' Or dtwlmxb2 = '" & comb2.Value & "--" & comb1.Value & "'"