Hello, I'm getting a runtime error 6: Overflow error on the following line of code:
ThisReportDepMin = IIf(Not (DepMinCount = 0), Format((DepMin) / (DepMinCount), "Fixed"
, "0"
In this example, all of the above fields are equal to zero.
If there are numbers greater then 0 in these fields, the formula works. Any help is appreciated.
Thanks,
Jason Grandmaison
ThisReportDepMin = IIf(Not (DepMinCount = 0), Format((DepMin) / (DepMinCount), "Fixed"


In this example, all of the above fields are equal to zero.
If there are numbers greater then 0 in these fields, the formula works. Any help is appreciated.
Thanks,
Jason Grandmaison