R
ragtopcaddy via AccessMonster.com
I get a #error returned if the following Iif statement is false:
Netting_Group: IIf(Trim([NettingGrp])=0,0,Trim(Right([NettingGrp],20)))
Meanwhile, the following statement returns the string expected:
RtNtgGrp: Trim(Right([NettingGrp],20))
Why should the Iif statement return #Error when the same Trim(Right(
functions return a valid result in the same query?
Netting_Group: IIf(Trim([NettingGrp])=0,0,Trim(Right([NettingGrp],20)))
Meanwhile, the following statement returns the string expected:
RtNtgGrp: Trim(Right([NettingGrp],20))
Why should the Iif statement return #Error when the same Trim(Right(
functions return a valid result in the same query?