ruthhacche
Board Regular
- Joined
- Sep 22, 2017
- Messages
- 84
The third item in this table was transferred from the second item. I need a new column or a way of extracting my original code such that:
If TransferID = 0 then use ItemCode Else return the code associated with the TransferID. So on Row 3 use the ItemCode a1002 (which has ID 7291) rather than a1003 but on all other rows just use the item code. This must be so easy for someone.
If TransferID = 0 then use ItemCode Else return the code associated with the TransferID. So on Row 3 use the ItemCode a1002 (which has ID 7291) rather than a1003 but on all other rows just use the item code. This must be so easy for someone.