Question..I am getting the error #Num! on one of my reports... Im guessing its because there are no values in this particular field to avg. The expression I am using is:
=(Sum(IIf(Abs([Personnel Date])<>0,DateDiff("d",[Personnel Date],[Personnel Out Date]),0))/DCount("[DocumentID]","SOP_Tracking_Rpt_Qry","[Personnel In] = True"))
Any ideas on how I can make it where it produces zero?
=(Sum(IIf(Abs([Personnel Date])<>0,DateDiff("d",[Personnel Date],[Personnel Out Date]),0))/DCount("[DocumentID]","SOP_Tracking_Rpt_Qry","[Personnel In] = True"))
Any ideas on how I can make it where it produces zero?