WB786
MIS
- Mar 14, 2002
- 610
I know you can use the following to mask the error:
=IIf([MeterHours]=0,"0",[TotalGallons]/[MeterHours])
But I also need it to do the same if the value in MeterHours is Null. So whether the MeterHours is Null or Zero it should put a Zero there instead.
Thank you in advance,
WB
=IIf([MeterHours]=0,"0",[TotalGallons]/[MeterHours])
But I also need it to do the same if the value in MeterHours is Null. So whether the MeterHours is Null or Zero it should put a Zero there instead.
Thank you in advance,
WB