报告查看交付日期/时间以及在给定时间内计算出百分比的计划日期/时间
如果没有为所有订单更新交货,那么我得到"除以零"错误 公式是
IF {@ONTIME}<>0
THEN
1 % Count ({the job number}, {delivery address})
ELSE
0
请提出任何建议
答案 0 :(得分:0)
试试这个:
IF not isnull ({@ONTIME}) or ({@ONTIME})<>0 then
1 % Count ({the job number}, {delivery address})
ELSE
0