有下面公式:
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],"期号", "=" ,[期号])")
来替代,但提示语法错误。是不是双引号用得不对?请指教。谢谢!