hockeyfan21
Registered User.
- Local time
- Today, 03:53
- Joined
- Aug 31, 2011
- Messages
- 38
Hi there, can't seem to figure this out. I am getting all zero's in this query calculation. Both Ord Entr Qty and OM Rjct Qty are number data types (Long Integer).
Rjct Qty: IIf([Rjct Sched Rsn Cd] In ('Z4','Z5','Z6','Z7','Z8'),[Ord Entr Qty]-[OM Rjct Qty],0)
Without the calculation it works to just show OM Rjct Qty
Rjct Qty: Sum(IIf([Rjct Sched Rsn Cd] In ('Z4','Z5','Z6','Z7','Z8'),[OM Rjct Qty],0))
Any ideas on what I might be doing wrong?
Thanks!
Rjct Qty: IIf([Rjct Sched Rsn Cd] In ('Z4','Z5','Z6','Z7','Z8'),[Ord Entr Qty]-[OM Rjct Qty],0)
Without the calculation it works to just show OM Rjct Qty
Rjct Qty: Sum(IIf([Rjct Sched Rsn Cd] In ('Z4','Z5','Z6','Z7','Z8'),[OM Rjct Qty],0))
Any ideas on what I might be doing wrong?
Thanks!