以下是引用wuxianzuoji41在2013-11-20 10:52:00的发言:
Dim txt As String = e.Form.Controls("txtMingcheng").Text
Dim tbl As Table = Tables("窗口产品销售_tblChanpin")
If txt = "" Then
tbl.Filter = ""
Else
txt = "'*" & txt & "*'"
tbl.Filter = "product_name Like " & txt
End If
如果 Tables("窗口产品销售_tblChanpin")有几十万或者百万级别,需要吧数据全部调出来才能处理,怎么实现不全部调出来数据,但是又不影响使用功能
不可能出现在几百万条信息里筛选。
给个思路,选按条件少量加载,再筛选。