Foxtable(狐表)用户栏目专家坐堂 → Filter


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

主题:Filter

帅哥哟,离线,有人找我吗?
yetle
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:四尾狐 帖子:858 积分:6381 威望:0 精华:0 注册:2017/2/13 9:04:00
Filter  发帖心情 Post By:2018/10/9 9:55:00 [显示全部帖子]

 If Forms("领料申请").Opened Then
    If tbl1.current IsNot Nothing Then
               If  qs.Checked = True Then   
            
       Tables("领料申请_table3").Filter = "[物供号] = '" & tbl1.current("物供号") & "' and  [可申领数] > 0 and [适用款号] like " & txt 
               Else If qs.Checked = False Then
       Tables("领料申请_table3").Filter = "[物供号] = '" & tbl1.current("物供号") & "'  and [适用款号] like " & txt 
               End If
'Tables("领料申请_table3").Filter = "[物供号] = '" & tbl1.current("物供号") & "' and [适用款号] = '" & tbl1.current("款号") & "' "
Else
       Tables("领料申请_table3").Filter = "[物供号] = 20181001"
    End If
End If

 [可申领数] > 0 没有起作用,等于0的值也出来了
[此贴子已经被作者于2018/10/9 9:56:23编辑过]

 回到顶部