Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Access 2010 查询中完成以下操作
Select UNIT, DATE, Sum(IIF(ISERROR(A),NULL,A)) AS DLP_PERCENTAGE From tableA;
在哪里
A = (ACT-BASE)/BASE
我收到一个通用的溢出错误。我错过了一些明显的东西。我试图捕捉计算中的错误,如果存在错误则返回 NULL,如果没有错误则返回结果。我必须在查询中这样做。有什么我忽略的想法吗?
SUM((ACT-BASE)/IIF(BASE=0, Null, BASE)) AS DLP_PERCENTAGE