{select
IIF(PA.ES='Acceptable',1,
IIF(PA.ES='Warning',2,
IIF(PA.ES='Critical',3,
IIF(PA.ES='No Need to Report','NNTR','NR')))) AS Overall_Health
from
qry_tEMP AS PA}
我的身份证有ES = No Need to Report
,但当我以这种方式运行时,我得到了
Overall_Health
#Error
我的目标是按原样显示值。