郭老师不是的,我的实际代码是:
=IIF(len(Ltrim(Fields!programer_name.Value))>0,IIF(asc(Left(Ltrim(Fields!programer_name.Value),1))>=65 AND asc(Left(Ltrim(Fields!programer_name.Value),1))<=122,Arial,宋体),宋体)
就是说,当Fields!programer_name.Value是空的情况下,这个表达式就是错的。
而我说的=iif( " "=" ", "1222", IIF(ASC(Left("",1))>=65,"英文","汉语"))这个表达式,意思就是考虑的当我想要的值是空的情况下,不应该再报错了,结果还是报错。 |