在商务下单查询表,只能查询技术支持邮箱等于登录用户名的行,不符合的不加载不出现。
ComboBox---->selectedindexchanged代码如下:明明增加了技术支持邮箱 ='"& User.name & "'为什么还是把所有的客户名称都列出来。难道用andalso?请帮忙看看
If e.Sender.text<>"所有客户" Then Tables("商务下单查询表").Filter="客户='"& e.sender.text &"'and 状态='Published' and 技术支持邮箱 ='"& User.name & "'" Else Tables("商务下单查询表").Filter="状态 = 'Published' and 技术支持邮箱 ='"& User.name & "'"End If