加好友 发短信
等级:小狐
帖子:302
积分:1860
威望:0
精华:0
注册:2012/4/27 11:34:00
|
Post By:2013/4/20 10:26:00 [显示全部帖子]
这样试试: Dim txt As String = e.Form.Controls("查询").TextDim tbl As Table = Tables("标准产品_标准产品")If txt = "" Then tbl.Filter = ""Else txt = "'*" & txt.replace("*","[*]") & "*'" tbl.Filter = "产品名称 Like " & txt & " Or 型号 Like " & txt & " Or 规格 Like " & txt & " Or 图号 Like " & txt End If
|
|