Foxtable(狐表)用户栏目专家坐堂 → 查询结果不符合要求


  共有2514人关注过本帖树形打印复制链接

主题:查询结果不符合要求

美女呀,离线,留言给我吧!
zbdxnyy
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:婴狐 帖子:1 积分:76 威望:0 精华:0 注册:2018/4/1 19:19:00
查询结果不符合要求  发帖心情 Post By:2018/4/1 19:42:00 [显示全部帖子]

为什么输入“小白”和“进口”会出现表中结果,查询按钮事件代码如下
Dim Filter As String
Dim myfs As winForm.TextBox=e.Form.Controls("贸易方式")
If myfs.Value IsNot Nothing Then
Filter = " 贸易方式='"& myfs.Value &"'"
End If
Dim khmc As winForm.TextBox=e.Form.Controls("客户名称")
If khmc.Value IsNot Nothing Then
 Filter =" 客户名称='"& khmc.Value &"'"
End If
Dim khzh As winForm.TextBox=e.Form.Controls("客户账户")
If khzh.Value IsNot Nothing Then
Filter =" 客户账户='"& khzh.Value &"'"
End If
Dim hth As winForm.TextBox=e.Form.Controls("合同号")
If hth.Value IsNot Nothing Then
 Filter = " 合同号='"& hth.Value &"'"
End If
If Filter > "" Then
 Tables("记录表
图片点击可在新窗口打开查看此主题相关图片如下:微信图片_20180401192540.png
图片点击可在新窗口打开查看
").Filter=Filter


 回到顶部