A
Ava
=Avg(IIf([qryDRH_OBSbyMonthly]![dx_obs]<>"home",DateDiff
("h",([qryDRH_OBSbyMonthly]![obs_date]),
([qryDRH_OBSbyMonthly]![obs_disc]))))
This is my equation. It works for the most part but when
[dx_obs]<>"home" = 0 then it returns a null (divide by
zero) How can I make it return a zero if the equation
divides by zero??
("h",([qryDRH_OBSbyMonthly]![obs_date]),
([qryDRH_OBSbyMonthly]![obs_disc]))))
This is my equation. It works for the most part but when
[dx_obs]<>"home" = 0 then it returns a null (divide by
zero) How can I make it return a zero if the equation
divides by zero??