易表在线答疑技术与交流用户社区 → 请教:下面的公式如何改写成Eval格式


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

主题:请教:下面的公式如何改写成Eval格式

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


加好友 发短信
等级:蝙蝠侠 帖子:820 积分:2154 威望:0 精华:0 注册:2010/5/12 19:07:00
请教:下面的公式如何改写成Eval格式  发帖心情 Post By:2014/9/19 12:01:00 [只看该作者]

DelFor(gridname,"示数类型","=","反无功峰") And DelFor(gridname,"示数类型","=","反无功谷") And DelFor(gridname,"示数类型","=","反无功尖") And DelFor(gridname,"示数类型","=","反无功平") And DelFor(gridname,"示数类型","=","反无功总")And DelFor(gridname,"示数类型","=","反有功峰")And DelFor(gridname,"示数类型","=","反有功谷")And DelFor(gridname,"示数类型","=","反有功尖")And DelFor(gridname,"示数类型","=","反有功平")And DelFor(gridname,"示数类型","=","反有功总")And DelFor(gridname,"示数类型","=","正无功峰")And DelFor(gridname,"示数类型","=","正无功谷")And DelFor(gridname,"示数类型","=","正无功尖")And DelFor(gridname,"示数类型","=","正无功平")And DelFor(gridname,"示数类型","=","正无功总")And DelFor(gridname,"示数类型","=","需量总")And DelFor(gridname,"示数类型","=","正无功尖峰")And DelFor(gridname,"示数类型","=","正有功尖峰")And DelFor(gridname,"示数类型","=","正有功平")


 回到顶部
美女呀,离线,留言给我吧!
dancedy
  2楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:2721 积分:4555 威望:0 精华:0 注册:2011/5/12 17:20:00
  发帖心情 Post By:2014/9/19 12:07:00 [只看该作者]

Eval("DelFor(gridname,""示数类型"",""="",""" + Substitute("反无功峰|反无功谷|反无功尖","|",""") And DelFor(gridname,""示数类型"",""="",""") + """)")

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


加好友 发短信
等级:蝙蝠侠 帖子:820 积分:2154 威望:0 精华:0 注册:2010/5/12 19:07:00
  发帖心情 Post By:2014/9/19 12:34:00 [只看该作者]

谢谢版主!

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


加好友 发短信
等级:超级版主 帖子:16190 积分:125850 威望:1 精华:0 注册:2006/8/12 12:29:00
  发帖心情 Post By:2014/9/19 19:14:00 [只看该作者]

Eval("DelFor(gridname,""示数类型"",""="","""+Substitute("反无功峰|反无功谷|反无功尖|反无功平|反无功总|反有功峰|反有功谷|反有功尖|反有功平|反有功总|正无功峰|正无功谷|正无功尖|正无功平|正无功总|需量总|正无功尖峰|正有功尖峰|正有功平","|",""") And DelFor(gridname,""示数类型"",""="",""")+""")")

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


加好友 发短信
等级:蝙蝠侠 帖子:820 积分:2154 威望:0 精华:0 注册:2010/5/12 19:07:00
  发帖心情 Post By:2014/9/21 20:51:00 [只看该作者]

谢谢管理员!

 回到顶部