When displaying a report where a bound control is doing a "sum", I see #Error - because there's nothing to add up. I've tried this:
=IIf(IsError(Sum([FMLA Hours])),0,Sum([FMLA Hours]))
The field being summed is FMLA Hours. I would like to display a zero instead of "#Error". I found this in the forums in response to one of my previous posts - I had used it in a different version of Access and it worked. Now it doesn't. What am I doing wrong? For the life of me, I just don't see the problem. Thanks for your help!
=IIf(IsError(Sum([FMLA Hours])),0,Sum([FMLA Hours]))
The field being summed is FMLA Hours. I would like to display a zero instead of "#Error". I found this in the forums in response to one of my previous posts - I had used it in a different version of Access and it worked. Now it doesn't. What am I doing wrong? For the life of me, I just don't see the problem. Thanks for your help!