Foxtable(狐表)用户栏目专家坐堂 → Label26作为查询


  共有4542人关注过本帖平板打印复制链接

主题:Label26作为查询

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


加好友 发短信
等级:九尾狐 帖子:2701 积分:17999 威望:0 精华:0 注册:2013/4/9 10:41:00
  发帖心情 Post By:2015/3/18 11:17:00 [只看该作者]

Dim Filter As String
With e.Form.Controls("TextBox7")
    If .Value IsNot Nothing Then
        If Filter > "" Then
            Filter = Filter & " And "
        End If
        Filter = Filter & "连接编号 = '" & .Value & "'"   '此处内容自行修改
    End If
End With
If Filter > "" Then
    Tables("企业档案窗口_Table4").Filter = Filter
End If

为什么TextBox7必须要可见才能有效呢?
谢谢 


 回到顶部
总数 31 1 2 3 4 下一页