I am getting an overflow error on the following:
intPercentNotPa id = IIf(intNumberAp proved = 0, 0, intNumberNotPai d /
intNumberApprov ed)
The intNumberapprov ed is 0, but it is still evaluating the False part
of the IIf and thus throwing me into the error. It should just be
setting intPercentNotPa id = 0
Should I just do an if statement and skip the calculation if
intNumberApprov ed = 0 ?
Thanks,
Brian
intPercentNotPa id = IIf(intNumberAp proved = 0, 0, intNumberNotPai d /
intNumberApprov ed)
The intNumberapprov ed is 0, but it is still evaluating the False part
of the IIf and thus throwing me into the error. It should just be
setting intPercentNotPa id = 0
Should I just do an if statement and skip the calculation if
intNumberApprov ed = 0 ?
Thanks,
Brian
Comment