Skip Bisconer
Who Me?
- Local time
- Today, 10:08
- Joined
- Jan 22, 2008
- Messages
- 285
I can't seem to get this to work. I am trying to force ListMargin to 0 if Cost or Sell is 0. This is the statement I am trying to use. It gives me an Undefined functin 'IFF' in expression error.It's quite possible I am misinterpeting MS Help. I would apprecate someone setting me right. I get my 0 if I just use the divisor less than one but I am curious as to why this expression doesn't work.
ListMargin: IIf([InventoryList]<1,0,IFF([InventoryCost]<1,0,([InventoryList]-[InventoryCost])/[InventoryList]))
ListMargin: IIf([InventoryList]<1,0,IFF([InventoryCost]<1,0,([InventoryList]-[InventoryCost])/[InventoryList]))