I am getting an overflow error on the following:
intPercentNotPaid = IIf(intNumberApproved = 0, 0, intNumberNotPaid /
intNumberApproved)
The intNumberapproved 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 intPercentNotPaid = 0
Should I just do an if statement and skip the calculation if
intNumberApproved = 0 ?
Thanks,
Brian