I have a text box (shows result of a query) which factors into a sum later on in a report. This text box sometimes has a null value in it which in turn throws an error in the sum field. I need to set this text box to zero if the result is null. I have tried the following:
1. =iif(IsNull([AcctNum]),0,[AcctNum])
2. Nz([AcctNum],0)
3. Nz([AcctNum])
AcctNum is a decimal field. None of these have worked. They all result in a circular reference(?) or #error. Can someone tell me what I am doing wrong? I have googled this thing to death. Thanks for all help in advance.
Dave
1. =iif(IsNull([AcctNum]),0,[AcctNum])
2. Nz([AcctNum],0)
3. Nz([AcctNum])
AcctNum is a decimal field. None of these have worked. They all result in a circular reference(?) or #error. Can someone tell me what I am doing wrong? I have googled this thing to death. Thanks for all help in advance.
Dave