判断语句为什么有的地方行有的地方不行 Post By:2018/5/4 10:15:00 [显示全部帖子]
请问老师,这句代码错在哪呢?写在TextChanged中的。
If Tables("打印审批表_Table1").DataCols("采购申报表打印") = False Then Dim txt As String = e.Form.Controls("ComboBox1").Text Dim tbl As Table = Tables("打印审批表_Table1") If txt = "" Then tbl.Filter = "" Else txt = "'%" & txt & "%'" tbl.Filter = "采购方式 Like " & txt 'And "采购申报表打印"=False End If End If