Foxtable(狐表)用户栏目专家坐堂 → [求助]狐狸爸爸复选组合筛选


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

主题:[求助]狐狸爸爸复选组合筛选

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106260 积分:540429 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/1/2 9:09:00 [显示全部帖子]

Dim Filter As String = "1=1"

With e.Form.Controls("CheckedComboBox1")

    If .Value IsNot Nothing Then

        Filter &= " and 考试时间 in ('" & .Value.replace(",", "','") & "')"

    End If

End With

if Filter = "1=1" then

With e.Form.Controls("CheckedComboBox2")

    If .Value IsNot Nothing Then

        Filter &= " and 班级 in ('" & .Value.replace(",", "','") & "')"

    End If

End With

end if



 回到顶部