易表在线答疑技术与交流用户社区 → 请教筛选问题


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

主题:请教筛选问题

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


加好友 发短信
等级:超级版主 帖子:16190 积分:125850 威望:1 精华:0 注册:2006/8/12 12:29:00
  发帖心情 Post By:2011/7/6 20:29:00 [显示全部帖子]

三个变量的完全组合应该有8种情况:

If([%A%]="" And [%B%]="" And [%C%]="","",

If([%A%]="" And [%B%]="" And [%C%] <> "",FilterFor("C","=",[%C%]),
If([%A%]="" And [%B%] <> "" And [%C%]="",FilterFor("B","=",[%B%]),
If([%A%] <> "" And [%B%]="" And [%C%]="",FilterFor("A","=",[%A%]),

If([%A%]="" And [%B%] <> "" And [%C%] <> "",FilterFor("B","=",[%B%],"C","=",[%C%]),
If([%A%] <> "" And [%B%] <> "" And [%C%]="",FilterFor("B","=",[%B%],"A","=",[%A%]),
If([%A%] <> "" And [%B%]="" And [%C%] <> "",FilterFor("A","=",[%A%],"C","=",[%C%]),

FilterFor("A","=",[%A%],"B","=",[%B%],"C","=",[%C%]))))))))


 回到顶部