Dim TJ As WinForm.TextBox = e.Form.Controls("查询条件")
If TJ.Value IsNot Nothing Then
Tables("到帐选择窗口_子窗口").Filter = " 单号 like '*" & tj.Text & "*' or 托运部名称 like '*" & tj.Text & "*'or piao号 like '*" & tj.Text & "*'or 入库账号 like '*" & tj.Text & "*'and 到帐状态 = false "
End If
Tables("到帐选择窗口_子窗口").Sort = "取款日期"
请问高手,到帐状态 = false 这样对不对,为什么执行的时候好像忽略了这段