if(sql("yybdb","select yyb_public.GET_JGJB('"+$jgid+"')from dual")=4,$$$,"-")
想表达的是等于4,则显示当前单元格的值,否则显示-
这样写不报错 但是怎么显示不出效果?
if(sql("yybdb","select JGJB from a where jg='"+$jgid+"'",1,1)="4",$$$,"-")
if(sql("yybdb","select JGJB
from a
where jg='"+$jgid+"'
and rownum = 1",1,1)= 4,$$$,"-")