L
LISAEON
Buys and Sell Price is a positive value. I want to create an If Statement
that format the Buy Price as a negative value. I tried the following
expression, but it returned only positive Sell prices:
((CTSUSER_PHYDETAIL.PRICE)=IIf([CTSUSER_DEALHEADER.BUYORSELL]="B",(-1*[CTSUSER_PHYDETAIL.PRICE]),(1*[CTSUSER_PHYDETAIL.PRICE])))
that format the Buy Price as a negative value. I tried the following
expression, but it returned only positive Sell prices:
((CTSUSER_PHYDETAIL.PRICE)=IIf([CTSUSER_DEALHEADER.BUYORSELL]="B",(-1*[CTSUSER_PHYDETAIL.PRICE]),(1*[CTSUSER_PHYDETAIL.PRICE])))