以下是引用woodiy在2009-5-30 14:10:00的发言:
加在第二行,代码如下:
with e.Form
If e.Form.Opened = False Then
Return
if e.sender.text <> "请输入关键字" then
Dim dst As WinForm.DataList = .Controls("DataList1")
Dim txb1 As WinForm.TextBox = .Controls("TextBox1")
dst.RowFilter = "[开piao单号] Like '*" & txb1.text & "*' or [开piao公司] Like '*" & txb1.text & "*'or [fa piao号码] Like '*" & txb1.text & "*'or [销货单位] Like '*" & txb1.text & "*'"
end if
end if
end with
错误是不会出货了,但是以上代码没有起任何作用!
我早就跟老六提过这个问题,就是这一句代码,应该是没有错误的,但出来的提示和你一模一样,应该是一个BUG,以前从来没有过这样的问题.老六答应看看的.