View Full Version : Attn:// Pat Hartman (anyone else re: IIF)


kawter
10-22-2001, 03:24 PM
Can this work.. The reason i ask is because [tbMstLog4rc] [tbMstLog5rc] are both Null in all entries but they keep returning the "false" string



qrBuk4: IIf([tbMstLog4rc] = Null and[tbMstLog5rc] = Null, Null,(NZ([tbMstLog4rc],0)+NZ([tbMstLog5rc],0)))

Pat Hartman
10-22-2001, 06:34 PM
Your syntax needs work.

qrBuk4: IIf(IsNull([tbMstLog4rc]) and IsNull([tbMstLog5rc]), Null,(NZ([tbMstLog4rc],0)+NZ([tbMstLog5rc],0)))