易表在线答疑技术与交流用户社区 → [求助]Eval()用法


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

主题:[求助]Eval()用法

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


加好友 发短信
等级:蒙面侠 帖子:2494 积分:6748 威望:0 精华:0 注册:2011/3/30 12:48:00
[求助]Eval()用法  发帖心情 Post By:2013/12/9 21:09:00 [显示全部帖子]

有下面公式: 

CountFor(GridName,Right([红

1],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红

2],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红

3],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红

4],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红

5],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红

6],1), "=" ,[杀1],"期号", "=" ,[期号])

我用 

Eval("CountFor(GridName,Right([红" +Substitute("1|2|3|4|5|6","|","],1), "=" ,[杀1],"期号", "=" ,[期号]) + CountFor(GridName,Right([红 ")+ "],1), "=" ,[杀1],"期号", "=" ,[期号])")

来替代,但提示语法错误。是不是双引号用得不对?请指教。谢谢!


 回到顶部