C
ChoonBoy
I understand that using IIF expression in query can slow down the database.
Is there an alternative to the statement below as I have many IIF variants in
a single query.
Sales:
IIf([qty]="unit",[quantity],IIf([qty]="bonus",[bns],IIf([qty]="UnitBns",nz([quantity],0)+nz([bns],0),[Sale])))
Thanks in advance
Is there an alternative to the statement below as I have many IIF variants in
a single query.
Sales:
IIf([qty]="unit",[quantity],IIf([qty]="bonus",[bns],IIf([qty]="UnitBns",nz([quantity],0)+nz([bns],0),[Sale])))
Thanks in advance