易表在线答疑技术与交流用户社区 → [求助]如何按条件删除重复行?


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

主题:[求助]如何按条件删除重复行?

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


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

不理解楼主的意思

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


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

这样试试?
AddCol(Grid,"k",1, False ) And EvalFor(Grid,"k","CountFor(Grid,""第四列"",""="",[第四列],1,Row)") And DelFor(Grid,"第一列","=","a","k"," > ",1) And EvalFor(Grid,"k","CountFor(Grid,""第四列"",""="",[第四列],""第三列"",""="",[第三列],1,Row)") And DelFor(Grid,"第一列","=","b","k"," > ",1) And EvalFor(Grid,"k","CountFor(Grid,""第四列"",""="",[第四列],""第三列"",""="",[第三列],""第二列"",""="",[第二列],1,Row)") And DelFor(Grid,"第一列","=","c","k"," > ",1) And DeleteCol(Grid,"k")

 回到顶部